Parameter Labs discloses an exploit chain that can take over ChatGPT accounts
Parameter Labs disclosed an attack chain targeting the ChatGPT HTML preview (formerly Canvas) sandbox. An attacker can craft a share link that, when visited by another logged-in user, steals private data or performs actions on their behalf. The attack starts with the postMessage-receiving code of the MathLive virtual keyboard using innerHTML, injects an iframe without sandbox restrictions, and then uses the YouTube oEmbed endpoint allowed by CSP to reflect and execute JavaScript. OpenAI has fixed the vulnerability and paid a $5,000 bounty.
Why read thisThe original text fully reconstructs an attack chain from a sandboxed iframe to reading users' private data, which helps understand the isolation boundary of HTML preview-type features.
