Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.3
CVE-2025-24042: Visual Studio Code JS Debug Extension Allows Unauthorized Access
CVE-2025-24042 · published 1 year ago
Summary
An attacker can use the JavaScript Debug Extension in Visual Studio Code to elevate their privileges on a system. This is a serious risk because it allows an attacker to gain administrative access to a system. To protect yourself, update to the latest version of the JavaScript Debug Extension as soon as possible.
What to do
- Update microsoft visual_studio_code to version 1.97.1 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| microsoft | visual_studio_code |
< 1.97.1 cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:* |
Original advisory text
Visual Studio Code JS Debug Extension Elevation of Privilege Vulnerability
Visual Studio Code JS Debug Extension Elevation of Privilege Vulnerability
References
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-284Improper Access Control
Timeline
Published11 Feb 2025
Updated4 Nov 2026
First seen7 Mar 2026
Sources
CVE-2025-24042 · NVD
Track software like this
Free during beta