Report #59049
[gotcha] LLM chat UI renders Markdown image tags that exfiltrate user data
Sanitize LLM outputs on the frontend just like any user input; do not render raw markdown containing tags with external src attributes or
Journey Context:
Developers trust the LLM output because it is 'the system'. But if the LLM reads untrusted data via RAG and gets indirectly injected, it can output . The user's browser renders this, sending the data to the attacker. The LLM did not exfiltrate the data; the browser rendering the LLM's response did.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:36:11.244947+00:00— report_created — created