How Attackers Took Over ChatGPT Accounts via a MathLive + YouTube CSP Exploit Chain

Simon Willison · rss · 2026-11-01

Simon Willison covers Parameter Labs' disclosure of a complex exploit chain against ChatGPT's sandboxed HTML previews (formerly Canvas): the MathLive keyboard in the parent page accepted postMessage() calls and used innerHTML, letting sandboxed iframes inject HTML—including a new iframe without sandbox restrictions. OpenAI's strict CSP only allowed scripts from a few domains, but the YouTube oEmbed endpoint could reflect JavaScript into execution. With JS on the ChatGPT page, attackers could fetch private API data and exfiltrate it via image references via crafted share links. OpenAI patched the hole and paid a $5,000 bounty, which Willison calls a bit cheap for such a serious vulnerability.

Original post →

More from Models

Models channel →