Technical impact
In Visual Studio Code, an improperly sanitized input in the web view rendering component leads to a cross‑site scripting flaw. The flaw allows an attacker to inject and execute arbitrary JavaScript within the context of the VS Code application. When executed, this code can read and modify user data, steal credentials, and perform actions with the user's privileges, effectively constituting remote code execution.
Affected Systems
The vulnerability affects Microsoft Visual Studio Code installations that have not yet applied the security update published by Microsoft for CVE‑2026‑119975. All versions of Visual Studio Code that predate the update are potentially vulnerable, regardless of operating system.
Risk and Exploitability
The CVSS score of 8.8 signals a high‑severity vulnerability. The EPSS score of less than 1 % and the absence of the flaw from the CISA KEV catalog indicate a low probability of widespread exploitation at this time. Nevertheless, remote code execution via a web‑view XSS is straightforward once network connectivity to a vulnerable VS Code instance is available, and it requires no privileged local access. Consequently, environments that expose VS Code remotely or use untrusted extensions face a significant risk.