CVE-2021-26700
HIGH 7.8CVSS 3.1Remote code execution in vscode-npm-script
Visual Studio Code npm-script Extension Remote Code Execution Vulnerability
- Published
- 25 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secure@microsoft.com
- NVD status
- Modified
- Also known as
- GHSA-r84v-qff8-jv5g
- Sources
- NVDJSONOSV GHSA-r84v-qff8-jv5gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secure@microsoft.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microsoft | npmcpe:2.3:a:microsoft:npm:*:*:*:*:*:*:*:* |
< 0.3.15 | 0.3.15 |
| OSV | npm | vscode-npm-script | >= 0.0.0 |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26700 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-26700 · ADVISORY
- https://github.com/microsoft/vscode-npm-scripts · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)