Skip to main content

Visual Studio Code CVE-2026-121664

| EUVDEUVD-2026-122474 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-10 secure@microsoft.com
8.3
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious web/workspace content
  2. Delivery
    Lure developer to open it in VS Code
  3. Exploit
    Trigger improperly neutralized script injection
  4. Execution
    Escape rendering context and execute code
  5. Impact
    Compromise developer's host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim running Visual Studio Code (versions 1.0.0 up to but not including 1.145.3) to open or interact with attacker-supplied content that reaches a VS Code web-page generation/rendering path, because the vector mandates user interaction (UI:R). No authentication is required of the attacker (PR:N), and the attack is delivered over a network (AV:N). Exploitation is further limited by high attack complexity (AC:H), indicating a condition beyond the attacker's direct control must be met; the exact nature of that condition and the precise feature or rendering surface are not described in the available sources. The scope change (S:C) indicates successful injection can affect resources beyond the rendering sandbox, enabling code execution on the host.

Impact

Signals point to a serious but not emergency-grade issue. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H, base 8.3 High) describes a network-reachable, unauthenticated flaw that needs user interaction (UI:R) and has high attack complexity (AC:H), with a scope change (S:C) and full confidentiality/integrity/availability impact - consistent with cross-site scripting (CWE-79) that escapes the web-rendering context to execute code in Visual Studio Code. Countervailing signals lower real-world urgency: there is no CISA KEV listing, no public PoC or exploit reference in the input, and no EPSS probability was supplied, so widespread or active exploitation is not indicated. The vuln.today priority is 'this_week' (not act_now/emergency), and a vendor patch is available, which together argue for prompt but planned remediation rather than crisis response. Two caveats: EPSS is absent so exploitation probability cannot be quantified, and AC:H plus UI:R mean successful attacks require both a specific uncontrolled condition (whose nature is not described in the sources) and a victim action, which realistically narrows exploitation versus the raw 8.3 score.

Exploit ScenarioDerived

An attacker crafts malicious content (for example a web page, repository, or workspace artifact) that, when rendered inside Visual Studio Code, injects script that is improperly neutralized. A developer is lured into opening or interacting with that content (UI:R), after which the XSS escapes the rendering context (S:C) and executes code with the victim's privileges. No public exploit or PoC is identified in the available data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Cross-site scripting in Visual Studio Code 1.0.0 through 1.145.2 can let network attackers execute code on a victim's host when the user opens or interacts with attacker-supplied content that reaches a VS Code web-page generation or rendering path. Exploitation requires user interaction and a high-complexity precondition that the available sources do not describe in detail; no public exploit was identified at time of analysis. Microsoft rates the issue 8.3 with a scope change, and the vendor provides an update.

RemediationAI

Microsoft lists a vendor patch as available; the EUVD affected range ends before 1.145.3, so updating Visual Studio Code to 1.145.3 or later is the remediation target per the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121664. No workaround or compensating control is described in the supplied sources, so the vendor update is the only stated fix path.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.145.3

Affected Packages

euvd visual_studio_code fix: 1.145.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is classified as CWE-79, improper neutralization of input during web page generation, in Visual Studio Code's web-page generation/rendering path. The CVSS vector confirms a network-delivered attack (AV:N), no attacker authentication (PR:N), and mandatory victim interaction (UI:R); attack complexity is high (AC:H), meaning a condition beyond the attacker's direct control must be met, although the exact nature of that condition and the precise vulnerable feature or sink are not described in the supplied sources. Scope change (S:C) indicates that successful injection can affect resources beyond the original rendering context, with the assessment noting code execution on the host. EUVD lists Visual Studio Code 1.0.0 up to but not including 1.145.3 as affected; no CPE identifiers were provided in the input.

Know when Visual Studio Code gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (microsoft) PRIMARY 8.3 HIGH
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 8.3 HIGH

Network-delivered XSS needing a victim action (UI:R) and an uncontrolled precondition (AC:H), no auth (PR:N), escaping the render context (S:C) to full code execution impact (C/I/A:H).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 19:50 EUVD
CVE Published
Nov 10, 2026 - 19:20 cve.org
HIGH 8.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity cross-site scripting vulnerability in Visual Studio Code (versions 1.0.0 through 1.145.2) enables attackers to execute code on a victim's host, potentially leading to unauthorized access or data compromise. Development and IT teams using VS Code are at risk, and leadership should prioritize remediation to mitigate organizational exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
High
one of the most widely deployed developer code editors across enterprises
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2022-41034 HIGH POC
7.8 Oct 11

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-30129 HIGH POC
8.8 May 10

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2026-81376 CRITICAL
9.6 Sep 08

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a

CVE-2026-102238 CRITICAL
9.6 Oct 13

Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat

CVE-2026-47281 CRITICAL
9.6 Jun 09

Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over

CVE-2021-43891 HIGH
7.8 Dec 15

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2026-121663 HIGH
8.8 Nov 10

Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi

CVE-2026-119975 HIGH
8.8 Nov 10

Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac

CVE-2026-57102 HIGH
8.8 Jul 14

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c

CVE-2026-59113 HIGH
8.8 Aug 11

Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check

CVE-2026-69370 HIGH
8.8 Oct 13

Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit

CVE-2026-70336 HIGH
8.8 Aug 11

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy