# CVE-2022-25354: Prototype Pollution

- Severity: High 8.6 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.93%, higher than 80% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-17T11:20:56.621Z
- Modified: 2026-09-10T03:49:17.208Z
- Also known as: GHSA-6956-83fg-5wc5, SNYK-JS-SETIN-2388571
- Weaknesses: CWE-1321
- Assigned by: snyk

## 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)

(As written by CVE List.)

## Affected

- set-in: from unspecified before 2.0.3
- set-in (npm): before 2.0.3
- set-in_project set-in: before 2.0.3

## Every score

- snyk: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-SETIN-2388571> (exploit, patch, third-party-advisory, web)
- <https://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5> (broken-link, web)
- <https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25354> (advisory)
- <https://github.com/ahdinosaur/set-in> (package)

## Sources

- CVE List: [CVE-2022-25354](https://www.cve.org/CVERecord?id=CVE-2022-25354), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-6956-83fg-5wc5](https://github.com/advisories/GHSA-6956-83fg-5wc5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-25354](https://nvd.nist.gov/vuln/detail/CVE-2022-25354), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25354 · Whole record: https://cve.day/CVE-2022-25354.json · Rebuilt by cve.day 2026-11-25T22:58:10.151Z
