{"id":"CVE-2025-4759","published":"2025-05-16T05:00:04Z","modified":"2025-05-16T17:39:24Z","title":"Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00447,"percentile":0.39747,"provenance":"source"},"cwes":[{"id":"CWE-179","name":"Incorrect Behavior Order: Early Validation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587","tags":[]},{"url":"https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f","tags":[]},{"url":"https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63","tags":[]},{"url":"https://github.com/lirantal/lockfile-lint/pull/204","tags":[]},{"url":"https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":7.95},{"name":"CVSS severity","points":5.81}]},"affectedVersions":[{"vendor":"n/a","product":"lockfile-lint-api","versions":["< 5.9.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-16T17:37:10.232472Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"lockfile-lint-api","vulnerableRanges":["<5.9.2"],"patched":["5.9.2"],"from":["GHSA-7cfr-5cjf-32p4"],"provenance":"source"}],"summary":{"text":"The lockfile-lint-api npm package, in versions before 5.9.2, contains a flaw in the validation of the resolved attribute of package URLs, where the check runs in the wrong order (an early validation problem). An attacker who can supply a lockfile can extend the package name to bypass this check and cause other npm packages than the intended one to be installed, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:20Z"},"euvd":{"id":"EUVD-2025-15407","exploited":false,"provenance":"source"}}