# CVE-2021-25912: Prototype pollution in dotty

- 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.48%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-02T18:40:37.000Z
- Modified: 2026-06-17T03:42:33.980Z
- Also known as: GHSA-f5c9-x9j6-87qp
- Weaknesses: CWE-400, CWE-1321
- Assigned by: Mend

## Description

Prototype pollution vulnerability in 'dotty' versions 0.0.1 through 0.1.0 allows attackers to cause a denial of service and may lead to remote code execution.

(As written by CVE List.)

## Affected

- dotty: 0.0.1, 0.0.2, 0.1.0
- dotty (npm): before 0.1.1
- dotty_project dotty: from 0.0.1 up to 0.1.0

## 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-25912> (exploit, third-party-advisory, web)
- <https://github.com/deoxxa/dotty/commit/cd997d37917186c131be71501a698803f2b7ebdb> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25912> (advisory)
- <https://www.npmjs.com/package/dotty> (web)

## Sources

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

---

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