CVE-2026-121664

Visual Studio Code Remote Code Execution Vulnerability

Published Nov 10, 2026 CVSS 3.1 · 8.3 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

The vulnerability is a cross‑site scripting flaw in Visual Studio Code that allows an attacker to inject and execute arbitrary JavaScript during web page generation. By sending crafted content to the editor, the attacker can run code with the privileges of the running VS Code instance, potentially compromising the user’s machine and any connected services.

Affected Systems

Microsoft Visual Studio Code on all platforms. The affected release range is not specified, so any installation of VS Code that has not applied the latest security update is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.3 indicates a high‑severity impact. The EPSS score is less than 1 %, suggesting that the likelihood of exploitation in the wild is currently low, and it is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker would need network access to the vulnerable VS Code instance and could send malicious input to the editor.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Visual Studio Code update that addresses the XSS issue.
  • Avoid opening or injecting untrusted web content into the editor.
  • Configure a strict Content Security Policy or restrict extensions that render web content from untrusted sources.

Generated by OpenCVE AI on November 13, 2026 at 11:37 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.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/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:16 PM
Reserved
Nov 3, 2026, 6:52 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 7:20 PM
Modified
Nov 10, 2026, 9:19 PM