Cybersecurity news

Jessica Doner

Back to the list

Critical ChatGPT Flaw Allowed Attackers to Hijack Accounts and Steal Private Conversations With One Link

Cyber Security News,

A ChatGPT flaw let attackers hijack accounts and steal private conversations by sending one link that ran malicious code in a user's session.

AI and securityVulnerabilities and patches

Overview

A critical flaw in ChatGPT allowed attackers to hijack accounts and steal private conversations by sending a single malicious link. The vulnerability let a shared conversation run attacker-controlled JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers in another user's signed-in sessionAn active logged-in period of communication between a user or device and a server, bypassing the intended security boundaries. This happened because a math library added a message listener that accepted instructions without properly checking the sender's origin. The attack exploitedA piece of code or technique that uses a software flaw to break into or crash a system a gap where an isolated preview could send messages to a privileged page component, allowing unsafe HTML to be injected into the real ChatGPT page. Researchers used a specific sequence of messages and an embedded frame to execute code as chatgpt.com, which was possible because the Content Security PolicyAn HTTP response header that tells browsers which domains are allowed to load scripts on a web page allowed scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application from YouTube. OpenAI fixed the issue on October 26, 2026, and awarded a $5,000 bounty to the researcher who reported it.

Terms in this story

JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
Exploited
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
Content Security Policy
An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
scripts
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
disclosure
The process of reporting and publishing details about a newly discovered security flaw in software or hardware. In security news, disclosure refers either to a researcher privately alerting a vendor about a bug or to a company publicly notifying customers about a breach.
sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
iframe
An HTML element that embeds one web page inside a frame on another web page. Online services use an iframe to embed videos or payment forms, and attackers sometimes hide an invisible iframe on a compromised site to load exploit kits or phish clicks.
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
authenticated
A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related