---
id: "2026-10-31-chatgpt-html-preview-share-link-account-takeover"
url: "https://postcutoff.com/e/2026-10-31-chatgpt-html-preview-share-link-account-takeover/"
as_of: "2026-11-19T22:11:00+01:00"
date: "2026-10-31"
date_precision: day
category: policy-safety
importance: 3
confidence: high
status: [Confirmed]
sources: 4
editor: human editor
human_review: null
version: "2026-11-01"
---
As of: 2026-11-19 22:11 CET.
Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/
Canonical page: https://postcutoff.com/e/2026-10-31-chatgpt-html-preview-share-link-account-takeover/
# Parameter Labs: a ChatGPT share link could run code in any signed-in visitor's session
Full title: Parameter Labs: a ChatGPT share link could run code in any signed-in visitor's session (HTML-preview sandbox escape); OpenAI paid $5,000
Parameter Labs disclosed (published around Oct 31, 2026) an attack chain in which untrusted HTML in a ChatGPT HTML preview escaped its sandbox through the MathLive virtual keyboard's postMessage handler and a YouTube oEmbed script reflection, so that a shared ChatGPT link could exfiltrate a signed-in visitor's private data or act on their behalf. OpenAI fixed it and paid a $5,000 bounty.
## Key facts
- Chain (Simon Willison's summary): sandboxed iframe → MathLive keyboard postMessage → innerHTML in the parent page → unsandboxed iframe → script via an allowed YouTube oEmbed endpoint → API calls and exfiltration through an image URL
- Effect: visiting an attacker's ChatGPT share URL while signed in could leak private data or take actions as the victim
- Bounty $5,000; Simon Willison: 'a bit cheap for a vulnerability this serious'
## What happened
Researchers found that ChatGPT's sandbox for interactive HTML previews could be broken from inside a preview, giving script execution on the
ChatGPT origin. OpenAI closed the hole before publication. Written from Simon Willison's summary; Parameter's own write-up and The Hacker News were not readable for us.
## Your AI and this story
- GPT-6.2 Astra (training cutoff May 2026): 153 days after its cutoff
- Claude Opus 5.5 (training cutoff June 2026): 123 days after its cutoff
- Gemini 4 Hydrogen (training cutoff March 2026): 214 days after its cutoff
- Grok 4.7 (training cutoff May 2026): 153 days after its cutoff
## Sources
1. [Parameter Labs: We found a gap at OpenAI](https://www.parameter.ai/labs/we-found-a-gap-at-openai) (parameter.ai, official)
2. [Simon Willison: How We Took Over ChatGPT Accounts (Oct 31)](https://simonwillison.net/2026/Oct/31/how-we-took-over-chatgpt-accounts/) (simonwillison.net, press)
3. [The Hacker News: a shared ChatGPT link could run code](https://thehackernews.com/2026/10/a-shared-chatgpt-link-could-run.html) (thehackernews.com, press)
4. [Hacker News discussion](https://news.ycombinator.com/item?id=50314699) (news.ycombinator.com, discussion)
## Changes
- 2026-11-01 (filed): Created
## Related
- People: [Simon Willison](https://postcutoff.com/person/simon-willison/)