Skip to content
Parameter·Indexed by this site · Originally published· Event →SelectedAttention46

How Parameter took over ChatGPT accounts via publicly shared links

Do the Math: How We Took Over ChatGPT Accounts

AI summary

The Parameter team disclosed a fixed ChatGPT account takeover vulnerability: after a victim opens a malicious public share link, the attack code runs in their logged-in session as chatgpt.com. In a publicly shared conversation, the attacker combined a normal chart with a malicious HTML Preview; the injected code could enumerate the victim's session list, read private conversations never shared with the attacker, and exfiltrate data. The key to the exploit chain is that the MathLive library loaded by the chart leaves a postMessage listener on the main page that does not validate the origin; the keyboard layout can carry HTML, which inherits the chatgpt.com identity through an unsandboxed srcdoc iframe, and then bypasses CSP via the JSONP callback of YouTube oEmbed. The report was submitted on October 18, 2026; after OpenAI reproduced it, the severity was rated P1, and on October 26 it confirmed that both web frontend versions were fixed and paid a 5,000 USD bounty.

Why it was selected

Fully reconstructed how multiple seemingly harmless features combine into ChatGPT account takeover; remediation suggestions such as cross-frame message validation can be transferred to AI web product defenses.

Read originalparameter.ai