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.
Remediation
References
https://github.com/Manak/npm-programmatic/blob/master/index.js#L18
https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115
Related Vulnerabilities
CVE-2020-28452 Vulnerability in maven package com.softwaremill.akka-http-session:core_2.13
CVE-2023-30516 Vulnerability in maven package org.jenkins-ci.plugins:image-tag-parameter
CVE-2017-5617 Vulnerability in maven package com.kitfox.svg:svg-salamander
CVE-2023-37910 Vulnerability in maven package org.xwiki.platform:xwiki-platform-attachment-api
CVE-2021-43812 Vulnerability in npm package @auth0/nextjs-auth0