# CVE-2022-24802: Prototype Pollution in deepmerge-ts

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.68%, higher than 77% of CVEs (2026-12-02)
- Published: 2022-03-31T23:15:15.000Z
- Modified: 2026-06-17T04:32:33.173Z
- Also known as: GHSA-r9w3-g83q-m6hq
- Weaknesses: CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. deepmerge-ts is vulnerable to Prototype Pollution via file deepmerge.ts, function defaultMergeRecords(). This issue has been patched in version 4.0.2. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- RebeccaStevens deepmerge-ts: < 4.0.2
- deepmerge-ts (npm): before 4.0.2
- deepmerge-ts_project deepmerge-ts: before 4.0.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/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://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-r9w3-g83q-m6hq> (third-party-advisory, web)
- <https://github.com/RebeccaStevens/deepmerge-ts/commit/b39f1a93d9e1c3541bd2fe159fd696a16dbe1c72> (patch, third-party-advisory, web)
- <https://github.com/RebeccaStevens/deepmerge-ts/commit/d637db7e4fb2bfb113cb4bc1c85a125936d7081b> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24802> (advisory)
- <https://github.com/RebeccaStevens/deepmerge-ts> (package)

## Sources

- CVE List: [CVE-2022-24802](https://www.cve.org/CVERecord?id=CVE-2022-24802), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-r9w3-g83q-m6hq](https://github.com/advisories/GHSA-r9w3-g83q-m6hq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24802](https://nvd.nist.gov/vuln/detail/CVE-2022-24802), Public domain, modified 2026-06-17

---

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