{"cve":"CVE-2020-7795","nvd":{"published":"2022-08-02T14:15:09.953","modified":"2026-06-17T03:25:27.670","status":"Modified","description":"The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17","https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec","https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390","https://www.npmjs.com/package/get-npm-package-version/v/1.0.6","https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17"],"products":["get-npm-package-version_project:get-npm-package-version"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2020-7795","score":0.03968,"percentile":0.90462,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4h66-vghf-xg5x","url":"https://osv.dev/vulnerability/GHSA-4h66-vghf-xg5x","summary":"get-npm-package-version Command Injection vulnerability","modified":"2023-11-08T04:04:10.946675Z","packages":[{"ecosystem":"npm","name":"get-npm-package-version","purl":"pkg:npm/get-npm-package-version","ranges":["<1.0.7"],"fixed":["1.0.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}