LIVE FEED
ChatGPT HTML Preview XSS Enables Account Takeover

ChatGPT HTML Preview XSS Enables Account Takeover

ATLAS OWASP HIGH Significant risk · Prioritise patching ▲ 8.5 Simon Willison

Researchers at Parameter Labs discovered a multi-stage exploit chain against ChatGPT's HTML preview (Canvas/artifacts) feature that allowed untrusted sandboxed iframe code to escape containment, inject unsandboxed iframes, and achieve JavaScript execution on the ChatGPT origin. By abusing a MathLive postMessage handler that used innerHTML and exploiting YouTube's oEmbed endpoint to bypass CSP script restrictions, attackers could exfiltrate private user data or perform actions on behalf of any signed-in user who visited a malicious shared ChatGPT URL. OpenAI patched the vulnerability and awarded a $5,000 bug bounty, though the severity of the exploit chain arguably warranted a higher payout.

◉ AI THREAT BRIEFING

Stay ahead of the threat.

Twice-weekly digest of critical AI security developments — every story mapped to MITRE ATLAS and OWASP LLM Top 10. Free.

No spam. Unsubscribe anytime.