Skip to main content

Visual Studio Code CVE-2026-119975

| EUVDEUVD-2026-122276 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-10 secure@microsoft.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Host malicious content for VS Code
  2. Delivery
    Lure developer to open it
  3. Exploit
    Inject script via web page generation (XSS)
  4. Execution
    Execute code in editor context
  5. Impact
    Compromise developer 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 the victim to open or interact with attacker-controlled content in Visual Studio Code that is processed into a page context (UI:R in the vector) - the attacker cannot trigger it autonomously. No authentication is required (PR:N) and the vector is network-reachable with low complexity (AV:N/AC:L), so no special privileges or non-default configuration is indicated by the available data. The specific feature, SAPI, or rendering sink that reflects attacker input is not described in the available sources. The primary limiting factor is the mandatory user interaction; the practical fix per the input is updating to Visual Studio Code 1.145.3 or later, where the patch is available.

Impact

Signals are moderately consistent and point to a real but interaction-gated priority rather than a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R, C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity, unauthenticated flaw whose single gating factor is required user interaction (UI:R) - consistent with the CWE-79 XSS classification, where a victim must render attacker-controlled content. The vendor-assigned priority is 'this_week' (not act_now/emergency), a patch is available, and the issue was reported by Microsoft's own security team (secure@microsoft.com), which aligns with a coordinated-disclosure rather than in-the-wild posture. No KEV listing, no EPSS score, and no POC are present in the input, so there is no evidence of active or probable near-term exploitation: exploitation status is 'no public exploit identified at time of analysis'. The main caveat is a description-versus-mechanism gap: the text says XSS 'allows an unauthorized attacker to execute code over a network' and the vector sets C:H/I:H/A:H, implying escalation from script injection to broader code execution in the editor context, but the available sources do not describe the trigger or how high impact is achieved - treat the code-execution framing as vendor-stated, not independently detailed. Net: a genuinely high-severity, widely-exposed product, but the UI:R requirement and absence of exploitation signals make it an urgent-patch item rather than evidence of mass exploitation.

Exploit ScenarioDerived

An attacker crafts malicious content (for example a repository, file, notebook, or webview-rendered resource) that injects script into a Visual Studio Code page context, then lures a developer into opening it. When the victim interacts with the content, the injected script runs and, per the vendor, can lead to code execution over the network. No public exploit code is identified in the available data, and the attack depends on the victim opening the attacker-supplied content (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% 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 before 1.145.3 can let unauthenticated, network-reachable attackers run attacker-controlled script when a victim opens or interacts with crafted content, with high confidentiality, integrity, and availability impact per the CVSS 8.8 vector. Exploitation is gated by mandatory user interaction (UI:R), and no public exploit was identified at time of analysis. Microsoft has released a vendor patch in 1.145.3, and the vuln.today decision label is this_week.

RemediationAI

Upgrade Visual Studio Code to 1.145.3 or later (vendor-released patch: 1.145.3), per Microsoft's MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-119975. The available sources do not describe any configuration workaround or compensating control, and no specific interim mitigation is confirmed; updating is the complete fix identified in the supplied data. Until the update is applied, the only risk reduction supported by the vector is to avoid opening or interacting with untrusted content in affected VS Code builds, which is not a complete fix.

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

CVE-2026-119975 is a CWE-79 improper-neutralization issue in Visual Studio Code's web page generation: input that reaches a page-rendering context is not correctly encoded or sanitized, allowing script injection. Visual Studio Code is a desktop code editor with web-rendered UI surfaces, but the supplied sources do not identify the specific feature, component, or rendering sink that reflects attacker input, so the exact injection point remains unconfirmed. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) describes a network-reachable, low-complexity attack that requires no privileges but depends on a victim opening or interacting with the crafted content; the impact is high across all three CIA pillars within the affected page context.

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 8.8 HIGH

Network-reachable, low-complexity, unauthenticated XSS requiring the victim to open malicious content (UI:R); vendor-stated code execution in the editor supports high C/I/A with unchanged scope.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 19:50 EUVD
CVE Published
Nov 10, 2026 - 19:20 nvd
HIGH 8.8

DescriptionNVD

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, affecting versions prior to 1.145.3, enables unauthenticated attackers to execute malicious scripts when a user opens crafted content, potentially compromising confidentiality, integrity, and availability of the development environment. This impacts developers across the organization, risking source code exposure, unauthorized modifications, and project disruption; leadership should prioritize patching to mitigate potential business and security consequences.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 40% exploitable
Prevalence
High
Visual Studio Code is among the most widely deployed developer editors
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.9%
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

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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-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

CVE-2026-102235 HIGH
8.8 Oct 13

Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned

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