We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-4759



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.

Reserved 2025-05-15 | Published 2025-05-16 | Updated 2025-05-16 | Assigner snyk


MEDIUM: 6.9CVSS: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:PHIGH: 8.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P

Problem types

Incorrect Behavior Order: Early Validation

Credits

Xavier Bruni

References

security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587

gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f

github.com/...src/validators/ValidatePackageNames.js#L51-L63

github.com/lirantal/lockfile-lint/pull/204

github.com/...ommit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca

cve.org (CVE-2025-4759)

nvd.nist.gov (CVE-2025-4759)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-4759

Support options

Helpdesk Chat, Email, Knowledgebase