CVE-2022-25354
CRITICAL9.8EPSS 0.73%Prototype Pollution in set-in
Published: 3/18/2022Modified: 3/16/2026
Also known as:GHSA-6956-83fg-5wc5
Description
The package set-in before 2.0.3 is 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 packages (1)
- npm/set-infrom 0, < 2.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-25354
- PATCHhttps://github.com/ahdinosaur/set-in
- WEBhttps://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5
- WEBhttps://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
- WEBhttps://snyk.io/vuln/SNYK-JS-SETIN-2388571