| शीर्षक | https://github.com/dailydotdev/ daily commit d8fc89d978eb4a454992349adafa283700c52e31 Improper Neutralization of Escape, Meta, or Control Sequences |
|---|
| विवरण | Claude Code plugin statusline/band writes unsanitized server content (ANSI/OSC escape sequences + unvalidated link) to the user's terminal
## Summary
The daily.dev Claude Code plugin (`.claude-plugin/plugins/daily.dev/statusline/statusline.mjs` and `hooks/register.tsx`) fetches rendered headline strings from the public `statuslineHeadlines` GraphQL query and writes them to the user's terminal / Claude Code UI with no neutralization of embedded ANSI/OSC control sequences and no validation of the embedded hyperlink URL before rendering it as a clickable element.
## Details
- `statusline.mjs`'s `render()` writes the server-provided `item.line` directly to `process.stdout`. The `NO_COLOR` code path (`stripColors`) only strips SGR color codes, not OSC sequences (window title, clipboard-write on supporting terminals) or bare control bytes.
- `register.tsx`'s `parse()` extracts whatever URL is embedded in the line's OSC 8 sequence with no scheme/host check, and the mod renders it as a clickable `Link` labelled with the server-controlled display title.
- Per the code's own comments, this feed includes "the community's most-upvoted posts of the day", meaning content with provenance in user-submitted posts, so the client is trusting that pipeline unconditionally with no client-side defense-in-depth.
## Steps To Reproduce
(available upon request)
## Impact
A headline line containing attacker-chosen control sequences or an attacker-chosen URL (via a moderation gap, cache-poisoning bug, or a compromised curation path server-side) would be written verbatim to every user's terminal who has this plugin's statusline/mod wired in, and could additionally be surfaced as a one-click "Open" button in Claude Code's own UI pointing anywhere the attacker chooses, labelled with attacker-controlled text.
Affected versions: confirmed on commit `d8fc89d978eb4a454992349adafa283700c52e31`.
|
|---|
| स्रोत | ⚠️ https://github.com/dailydotdev/daily/issues/2158 |
|---|
| उपयोगकर्ता | carfeii (UID 97470) |
|---|
| सबमिशन | 06/11/2026 06:05 PM (22 दिन पहले) |
|---|
| संयम | 29/11/2026 03:36 AM (22 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 445146 [dailydotdev daily तक d8fc89d978eb4a454992349adafa283700c52e31 Statusline statusline.mjs render दूरस्थ कोड निष्पादन] |
|---|
| अंक | 20 |
|---|