How We Took Over ChatGPT Accounts
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
A demonstrated exploit chain shows sandboxed AI-generated HTML previews can leak private user data, a lesson for anyone building LLM apps that render untrusted code.
Researchers at Parameter Labs found a way to take over ChatGPT accounts. ChatGPT shows user-generated apps inside a locked-down box (a 'sandbox') for safety, but they found a chain of tricks that let malicious code inside that box escape and run on the main page. The result: a shared ChatGPT link could steal a signed-in user's private data. OpenAI fixed it and paid a $5,000 bounty.
Parameter Labs found a working attack against ChatGPT: a crafted share URL could exfiltrate private user data or act on a victim's behalf when another signed-in user opened it. The root cause was unsafe sandboxing of ChatGPT's interactive HTML previews. OpenAI closed the hole and paid a $5,000 bug bounty, which Willison called cheap for a vulnerability this serious. Any company rendering AI-generated code for users faces similar sandboxing risk.
The attack chain: ChatGPT's HTML previews run in sandboxed iframes; OpenAI's graphing uses the MathLive library, whose virtual keyboard accepts postMessage() calls and renders them via innerHTML, letting any sandboxed frame inject unsandboxed HTML. Content Security Policy blocked inline scripts and allowed script loads only from a few domains, including YouTube, whose oEmbed endpoint reflected executable JavaScript. That enabled API data exfiltration via image references. OpenAI patched it and paid $5,000.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
ChatGPT OpenAI Parameter Labs MathLive YouTube Simon Willison
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.
The Download: Better bionic hands and AI’s natural-gas boom
This newsletter roundup mostly relays other outlets' reporting; its two own stories flag sensory-linked prosthetics reaching home use and AI data centers locking the US grid into natural gas.
sqlite3_rsync: Database Remote-Copy Tool For SQLite
sqlite3_rsync lets developers snapshot or sync a live SQLite database to a remote machine over SSH without needing free disk space for a full local copy.
System-wide ad-blocking that catches trackers browser extensions can't
Desktop apps and OS components can now be ad-blocked system-wide, not just browser traffic, closing a privacy gap browser extensions cannot reach.