If a chat or IDE renders markdown images, an injected instruction can build an image URL that carries stolen data in its query string. The client leaks it the moment the image loads. The same trick works through diagram renderers such as Mermaid, which is why output allowlists and content security policies matter.
Read in this order
- ArticleBing Chat: Data Exfiltration Exploit ExplainedStart here: the attack and the vendor fix, step by step.
- ArticleCursor IDE: Arbitrary Data Exfiltration Via Mermaid (CVE-2025-54132)The same idea through diagram rendering in an IDE, with a CVE.
- ArticleData Exfiltration via Image Rendering Fixed in Amp CodeA recent coding agent bug and how it was closed.