CVE-2026-57101
HighCVSS 7.1Exploitation Probability (EPSS)
Low risk41th percentile - higher than 41% of all known CVEs
Summary
An XSS vulnerability in Visual Studio Code allows an unauthorized attacker to locally bypass a security feature due to improper input neutralization during web page generation.
Risk Assessment
An attacker could exploit this vulnerability to execute malicious scripts within the editor context, potentially leading to data theft or local privilege escalation.
Recommendation
It is recommended to immediately update Visual Studio Code to the latest patched version and restrict trust in unknown extensions and sources.
Other vulnerabilities in Visual Studio Code
See all- CVE-2026-102238Critical
Visual Studio Code is affected by a path traversal vulnerability due to improper limitation of a pathname to a restricted directory. This allows an unauthorized attacker to execute code over a network.
- CVE-2026-81376Critical
Incomplete comparison with missing factors in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- CVE-2026-47281Critical
Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2021-43891High
Visual Studio Code contains a remote code execution vulnerability. An attacker could exploit this flaw to execute arbitrary code in the context of the user.
- CVE-2020-1192High
Remote code execution vulnerability in Visual Studio Code when the Python extension loads workspace settings from a notebook file. An attacker could run arbitrary code in the context of the current user, potentially taking control of the system if the user has administrative rights.
- CVE-2026-70098High
Visual Studio Code has a missing authorization vulnerability that allows an unauthorized attacker to execute code over a network.
- CVE-2026-102235High
Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102234High
Reliance on untrusted inputs in a security decision in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- CVE-2026-69370High
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102851Medium
Incorrect privilege assignment in Visual Studio Code allows an authorized attacker to bypass a security feature locally.
Original NVD description (English source)
Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

