# CVE-2022-31106: Prototype Pollution in underscore.deep

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- 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.07%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-28T17:30:14.000Z
- Modified: 2026-06-17T04:44:48.677Z
- Weaknesses: CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Underscore.deep is a collection of Underscore mixins that operate on nested objects. Versions of `underscore.deep` prior to version 0.5.3 are vulnerable to a prototype pollution vulnerability. An attacker can craft a malicious payload and pass it to `deepFromFlat`, which would pollute any future Objects created. Any users that have `deepFromFlat` or `deepPick` (due to its dependency on `deepFromFlat`) in their code should upgrade to version 0.5.3 as soon as possible. Users unable to upgrade may mitigate this issue by modifying `deepFromFlat` to prevent specific keywords which will prevent this from happening.

(As written by CVE List.)

## Affected

- Clever underscore.deep: < 0.5.3; before 0.5.3

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- 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/Clever/underscore.deep/security/advisories/GHSA-8j79-hfj5-f2xm> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/Clever/underscore.deep/commit/b5e109ad05b48371be225fa4d490dd08a94e8ef7> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31106](https://www.cve.org/CVERecord?id=CVE-2022-31106), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-31106](https://nvd.nist.gov/vuln/detail/CVE-2022-31106), Public domain, modified 2026-06-17

---

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