# CVE-2025-57352: min-document vulnerable to prototype pollution

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-24T00:00:00.000Z
- Modified: 2026-09-10T03:50:28.770Z
- Also known as: GHSA-rx8g-88g5-qh64
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

A vulnerability exists in the 'min-document' package prior to version 2.19.0, stemming from improper handling of namespace operations in the removeAttributeNS method. By processing malicious input involving the __proto__ property, an attacker can manipulate the prototype chain of JavaScript objects, leading to denial of service or arbitrary code execution. This issue arises from insufficient validation of attribute namespace removal operations, allowing unintended modification of critical object prototypes. The vulnerability remains unaddressed in the latest available version.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- min-document (npm): before 2.19.1

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352> (exploit, web)
- <https://github.com/Raynos/min-document/issues/54> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57352> (advisory)
- <https://github.com/Raynos/min-document/pull/55> (web)
- <https://github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6> (web)
- <https://github.com/Raynos/min-document> (package)

## Sources

- CVE List: [CVE-2025-57352](https://www.cve.org/CVERecord?id=CVE-2025-57352), CVE Terms of Use, modified 2025-09-25
- GitHub Advisory Database: [GHSA-rx8g-88g5-qh64](https://github.com/advisories/GHSA-rx8g-88g5-qh64), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-57352](https://nvd.nist.gov/vuln/detail/CVE-2025-57352), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57352 · Whole record: https://cve.day/CVE-2025-57352.json · Rebuilt by cve.day 2026-11-25T22:59:05.139Z
