{"cve":"CVE-2025-4759","nvd":{"published":"2025-05-16T05:15:38.297","modified":"2026-06-17T09:33:57.200","status":"Analyzed","description":"Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:P","score":5.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-179"],"references":["https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f","https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63","https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca","https://github.com/lirantal/lockfile-lint/pull/204","https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587"],"products":["lirantal:lockfile-lint-api"],"source":"nvd","synced_at":"2026-10-19T22:01:57.636215869+00:00"},"epss":{"cve":"CVE-2025-4759","score":0.00439,"percentile":0.38211,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7cfr-5cjf-32p4","url":"https://osv.dev/vulnerability/GHSA-7cfr-5cjf-32p4","summary":"lockfile-lint-api Vulnerable to Incorrect Behavior Order","modified":"2025-05-16T22:12:11.442481Z","packages":[{"ecosystem":"npm","name":"lockfile-lint-api","purl":"pkg:npm/lockfile-lint-api","ranges":["<5.9.2"],"fixed":["5.9.2"]}]}],"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."]}