May 2026: Visual Studio Code Remote Code Execution Vulnerability
CVE-2026-41611 Published on May 12, 2026

Visual Studio Code Remote Code Execution Vulnerability
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.

Vendor Advisory NVD

Weakness Types

What is a Basic XSS Vulnerability?

The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. This may allow such characters to be treated as control characters, which are executed client-side in the context of the user's session. Although this can be classified as an injection problem, the more pertinent issue is the improper conversion of such special characters to respective context-appropriate entities before displaying them to the user.

CVE-2026-41611 has been classified to as a Basic XSS vulnerability or weakness.

What is a Command Injection Vulnerability?

The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

CVE-2026-41611 has been classified to as a Command Injection vulnerability or weakness.


Products Associated with CVE-2026-41611

Want to know whenever a new CVE is published for Microsoft Visual Studio Code? stack.watch will email you.

 

Affected Versions

Microsoft Visual Studio Code: