CVE-2026-119975

Visual Studio Code Remote Code Execution Vulnerability

Published Nov 10, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Microsoft update for CVE‑2026‑119975 immediately
  • If an immediate update is not feasible, block extensions that load external web content or enforce a restricted content‑security policy on the VS Code web views
  • Monitor the Microsoft security update feed for newer releases and re‑apply the patch when it becomes available

Generated by OpenCVE AI on November 13, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Title Visual Studio Code Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-79
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 30, 2026, 4:14 PM
Reserved
Oct 30, 2026, 5:10 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 7:20 PM
Modified
Nov 10, 2026, 7:20 PM