CVE-2026-41611
HighSummary
Visual Studio Code has improper neutralization of script-related HTML tags, leading to basic XSS vulnerability. This allows an unauthorized attacker to execute code locally.
Risk Assessment
This vulnerability may lead to the execution of malicious code on user machines, posing a serious threat to the security of organizational data and systems.
Recommendation
It is recommended to update Visual Studio Code to the latest version to mitigate this vulnerability and implement additional security measures against XSS attacks.
Other vulnerabilities in Visual Studio Code
See all- 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-41613High
A vulnerability in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network using session fixation.
- 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-81383High
Use of incorrectly-resolved name or reference in Visual Studio Code allows an unauthorized attacker to disclose information over a network.
Original NVD description (English source)
Improper neutralization of script-related html tags in a web page (basic xss) in Visual Studio Code allows an unauthorized attacker to execute code locally.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

