Report #67744
[gotcha] Data Exfiltration via Markdown Image Rendering
Filter LLM outputs for markdown image syntax \!\[...\]\(\) or HTML tags before rendering to the user, or block the LLM's ability to render external images entirely in the chat UI.
Journey Context:
Developers assume LLM output is just text and cannot perform network requests. However, if an attacker injects a prompt telling the LLM to output an image tag pointing to an attacker-controlled server with the user's session data in the URL, the chat UI will render it, silently exfiltrating the data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:11:20.667736+00:00— report_created — created