# CVE-2021-25952: Prototype polluation in just-safe-set

- 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): 3.34%, higher than 89% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-07T11:47:13.000Z
- Modified: 2026-06-17T03:42:39.940Z
- Also known as: GHSA-v26w-gcxh-v4r7
- Weaknesses: CWE-915, CWE-1321
- Assigned by: Mend

## Description

Prototype pollution vulnerability in ‘just-safe-set’ versions 1.0.0 through 2.2.1 allows an attacker to cause a denial of service and may lead to remote code execution.

(As written by CVE List.)

## Affected

- just-safe-set: 1.0.0, 1.1.0, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.2.1, 2.2.2
- just-safe-set (npm): from 1.0.0 before 2.2.2
- just-safe-set_project just-safe-set: from 1.0.0 up to 2.2.1

## 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-25952> (exploit, third-party-advisory, web)
- <https://github.com/angus-c/just/commit/dd57a476f4bb9d78c6f60741898dc04c71d2eb53> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25952> (advisory)
- <https://github.com/angus-c/just/pull/267> (web)
- <https://github.com/angus-c/just> (package)

## Sources

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

---

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