Report #44247
[gotcha] Base64 data URIs in markdown images bypassing URL domain allowlists
Block or strip \`data:\` URIs from LLM outputs and tool responses, specifically within markdown image or link syntax, as they bypass domain allowlists.
Journey Context:
To prevent exfiltration, developers implement URL allowlists for markdown images. Attackers bypass this by instructing the LLM to encode the sensitive data into a base64 \`data:image/png;base64,...\` URI. The markdown renderer accepts it because it doesn't hit an external domain, but if the chat client logs or processes these URIs, the data is exposed, or it can be exfiltrated via other side channels.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:44:17.037801+00:00— report_created — created