# CVE-2021-23452: 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:H/I:L/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.55%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-20T12:15:12.893Z
- Modified: 2026-06-17T03:38:47.380Z
- Also known as: GHSA-4mvj-rq4v-2fxw
- Weaknesses: CWE-915, CWE-1321
- Assigned by: snyk

## Description

This affects all versions of package x-assign. The global proto object can be polluted using the __proto__ object.

(As written by CVE List.)

## Affected

- x-assign: before unspecified
- x-assign (npm): up to 0.1.4
- binaryops x-assign: no versions given

## Every score

- snyk: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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://snyk.io/vuln/SNYK-JS-XASSIGN-1759314> (exploit, third-party-advisory, web)
- <https://runkit.com/embed/sq8qjwemyn8t> (third-party-advisory, url-repurposed, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23452> (advisory)
- <https://github.com/mvoorberg/x-assign> (package)

## Sources

- CVE List: [CVE-2021-23452](https://www.cve.org/CVERecord?id=CVE-2021-23452), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-4mvj-rq4v-2fxw](https://github.com/advisories/GHSA-4mvj-rq4v-2fxw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-23452](https://nvd.nist.gov/vuln/detail/CVE-2021-23452), Public domain, modified 2026-06-17

---

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