CVE-2022-25354 json
Prototype Pollution
published 2022-03-17 4 y ago modified 2026-09-10 1 mo ago also GHSA-6956-83fg-5wc5 , EUVD-2022-1338
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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)
Patch / fix
- npm set-in 2.0.3
- n/a set-in 2.0.3
Exploit prediction
1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-SETIN-2388571 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L/E:P |
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | set-in | <2.0.3 |
2.0.3 |
Affected products
- n/a set-in
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-SETIN-2388571
web, exploit, patch, third-party-advisory
-
github.com
/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25354
advisory
-
github.com
/ahdinosaur/set-in
package
Sources
- CVE List CVE-2022-25354
- GitHub Advisory GHSA-6956-83fg-5wc5
- NVD CVE-2022-25354
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.