提出 #1078338: https://github.com/dailydotdev/ daily commit d8fc89d978eb4a454992349adafa283700c52e31 Improper Neutralization of Escape, Meta, or Control Sequences情報

タイトル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)
送信2026年11月06日 18:05 (22 日 ago)
モデレーション2026年11月29日 03:36 (22 days later)
ステータス承諾済み
VulDBエントリ445146 [dailydotdev daily 迄 d8fc89d978eb4a454992349adafa283700c52e31 Statusline statusline.mjs render リモートコード実行]
ポイント20

Might our Artificial Intelligence support you?

Check our Alexa App!