Report #35048
[gotcha] LLM data exfiltration via markdown image links
Strip all markdown image syntax and external link references from LLM outputs before rendering them in a UI, or use a Content Security Policy that blocks mixed content and external image loading.
Journey Context:
LLMs can be tricked into exfiltrating sensitive data \(like conversation history\) by outputting it as the URL parameter in a markdown image tag. When the UI renders the markdown, the browser sends an HTTP request to the attacker's server with the data in the URL, completely bypassing network-level API restrictions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:17:51.659194+00:00— report_created — created