إرسال #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)
ارسال06/11/2026 06:05 PM (22 أيام منذ)
الاعتدال29/11/2026 03:36 AM (22 days later)
الحالةتمت الموافقة
إدخال VulDB445146 [dailydotdev daily حتى d8fc89d978eb4a454992349adafa283700c52e31 Statusline statusline.mjs render تنفيذ التعليمات البرمجية عن بُعد]
النقاط20

Do you know our Splunk app?

Download it now for free!