CVE-2022-25352
CRITICAL 9.8CVSS 3.1Prototype Pollution in libnested
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
- Published
- 17 Mar 2022
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-x5m8-2r8v-8f97SNYK-JS-LIBNESTED-2342117
- Sources
- NVDJSONOSV GHSA-x5m8-2r8v-8f97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libnested_project | libnestedcpe:2.3:a:libnested_project:libnested:*:*:*:*:*:node.js:*:* |
< 1.5.2 | 1.5.2 |
| OSV | npm | libnested | < 1.5.2 | 1.5.2 |
References
- https://github.com/dominictarr/libnested/blob/master/index.js%23L22 · Broken Link, WEB
- https://github.com/dominictarr/libnested/commit/c1129865d75fbe52b5a4f755ad3110ca5420f2e1 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-LIBNESTED-2342117 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25352 · ADVISORY
- https://github.com/dominictarr/libnested · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2022)