# CVE-2021-25913: Prototype Pollution in set-or-get

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/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): 4.38%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-08T21:22:45.000Z
- Modified: 2026-06-17T03:42:34.080Z
- Also known as: GHSA-6rv4-4qv6-88g2
- Weaknesses: CWE-1321
- Assigned by: Mend

## Description

Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 allows an attacker to cause a denial of service and may lead to remote code execution.

(As written by CVE List.)

## Affected

- set-or-get: 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10
- set-or-get (npm): from 1.0.0 before 1.2.11
- set-or-get_project set-or-get: from 1.0.0 up to 1.2.10

## Every score

- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25913> (exploit, third-party-advisory, web)
- <https://github.com/IonicaBizau/set-or-get.js/commit/82ede5cccb2e8d13e4f62599203a4389f6d8e936> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25913> (advisory)
- <https://www.npmjs.com/package/set-or-get> (web)

## Sources

- CVE List: [CVE-2021-25913](https://www.cve.org/CVERecord?id=CVE-2021-25913), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6rv4-4qv6-88g2](https://github.com/advisories/GHSA-6rv4-4qv6-88g2), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-25913](https://nvd.nist.gov/vuln/detail/CVE-2021-25913), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25913 · Whole record: https://cve.day/CVE-2021-25913.json · Rebuilt by cve.day 2026-11-25T22:57:59.851Z
