Description
npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | npm-programmatic | All versions including 0.0.12 |
References
- https://github.com/Manak/npm-programmatic/blob/master/index.js#L18Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115Exploit, Third Party Advisory
- https://github.com/Manak/npm-programmatic/blob/master/index.js#L18Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115Exploit, Third Party Advisory
Timeline
- Published
- Apr 7, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified