# CVE-2021-3757: Prototype Pollution in immerjs/immer

- Severity: High 7.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/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.66%, higher than 77% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-02T12:06:26.000Z
- Modified: 2026-06-17T04:05:42.463Z
- Also known as: GHSA-c36v-fmgq-m8hx
- Weaknesses: CWE-915, CWE-1321
- Assigned by: @huntrdev

## Description

immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

(As written by CVE List.)

## Affected

- immerjs immerjs/immer: from unspecified up to 9.0.5
- immer (npm): from 7.0.0 before 9.0.6
- immer_project immer: up to 9.0.5

## Every score

- @huntrdev: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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://huntr.dev/bounties/23d38099-71cd-42ed-a77a-71e68094adfa> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/immerjs/immer/commit/fa671e55ee9bd42ae08cc239102b665a23958237> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3757> (advisory)
- <https://github.com/immerjs/immer> (package)

## Sources

- CVE List: [CVE-2021-3757](https://www.cve.org/CVERecord?id=CVE-2021-3757), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c36v-fmgq-m8hx](https://github.com/advisories/GHSA-c36v-fmgq-m8hx), CC-BY-4.0, modified 2024-04-25
- NVD: [CVE-2021-3757](https://nvd.nist.gov/vuln/detail/CVE-2021-3757), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3757 · Whole record: https://cve.day/CVE-2021-3757.json · Rebuilt by cve.day 2026-11-25T22:58:03.624Z
