What’s Vulnerable › Vulnerabilities
CVE-2022-25352: Prototype Pollution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-17 · updated 2026-06-17
- Weakness: CWE-1321
Description
The package libnested before 1.5.2 are vulnerable to Prototype Pollution via the set function in index.js. **Note:** This vulnerability derives from an incomplete fix for [CVE-2020-28283](https://security.snyk.io/vuln/SNYK-JS-LIBNESTED-1054930)
Affected products
- libnested: before 1.5.2 — fixed in 1.5.2
How to fix
Upgrade to a fixed version: libnested 1.5.2. Check the vendor advisory for mitigations.
References
- https://github.com/dominictarr/libnested/blob/master/index.js%23L22
- https://github.com/dominictarr/libnested/commit/c1129865d75fbe52b5a4f755ad3110ca5420f2e1
- https://snyk.io/vuln/SNYK-JS-LIBNESTED-2342117
- https://github.com/dominictarr/libnested/blob/master/index.js%23L22
- https://github.com/dominictarr/libnested/commit/c1129865d75fbe52b5a4f755ad3110ca5420f2e1
- https://snyk.io/vuln/SNYK-JS-LIBNESTED-2342117
Get alerted when CVE-2022-25352 or the next vulnerability affects your stack