# CVE-2022-25907: Prototype Pollution

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-09T05:00:17.639Z
- Modified: 2026-06-17T04:34:28.770Z
- Also known as: GHSA-7qqq-gh2f-wq76
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.

(As written by CVE List.)

## Affected

- ts-deepmerge: from unspecified before 2.0.2
- ts-deepmerge (npm): before 2.0.2
- typescript_deep_merge_project typescript_deep_merge: before 2.0.2

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-2959975> (exploit, patch, third-party-advisory, web)
- <https://github.com/voodoocreation/ts-deepmerge/releases/tag/2.0.2> (release-notes, third-party-advisory, web)
- <https://github.com/voodoocreation/ts-deepmerge/commit/9be5148773343c57be9de39728d6ead18eddf10b> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25907> (advisory)
- <https://github.com/voodoocreation/ts-deepmerge> (package)

## Sources

- CVE List: [CVE-2022-25907](https://www.cve.org/CVERecord?id=CVE-2022-25907), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-7qqq-gh2f-wq76](https://github.com/advisories/GHSA-7qqq-gh2f-wq76), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25907](https://nvd.nist.gov/vuln/detail/CVE-2022-25907), Public domain, modified 2026-06-17

---

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