What’s Vulnerable › Vulnerabilities
CVE-2022-25354: Prototype Pollution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% 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 set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)
Affected products
- set-in: before 2.0.3 — fixed in 2.0.3
How to fix
Upgrade to a fixed version: set-in 2.0.3. Check the vendor advisory for mitigations.
References
- https://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5
- https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
- https://snyk.io/vuln/SNYK-JS-SETIN-2388571
- https://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5
- https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
- https://snyk.io/vuln/SNYK-JS-SETIN-2388571
Get alerted when CVE-2022-25354 or the next vulnerability affects your stack