CVE-2025-4759
lockfile-lint-api Vulnerable to Incorrect Behavior Order
8.3
HIGH
CVSS 3.1
EPSS 0.18%
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.
How to fix CVE-2025-4759
To remediate CVE-2025-4759, upgrade the affected package to a fixed version below.
- —upgrade to 5.9.2 or later
Is CVE-2025-4759 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 5.9.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
References (7)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2025-4759
- PATCHgithub.com/lirantal/lockfile-lint
- WEBgist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f
- WEBgithub.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js#L51-L63