Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious web/workspace content
-
DeliveryLure developer to open it in VS Code
-
ExploitTrigger improperly neutralized script injection
-
ExecutionEscape rendering context and execute code
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
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).
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Visual Studio Code
View allVisual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e
Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a
Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat
Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi
Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac
Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c
Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check
Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit
Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co
EUVD-2026-122474
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB