CVE-2025-57352
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-min-document | Fix pending | UBUNTU-CVE-2025-57352 | |
| Ubuntu 26.04 | node-min-document | Under investigation | UBUNTU-CVE-2025-57352 | |
| Ubuntu 25.10 | node-min-document | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-57352 | |
| Ubuntu 24.04 | node-min-document | Under investigation | UBUNTU-CVE-2025-57352 | |
| Debian 14 | node-min-document | Fixed | 2.19.2+~cs2.20.4-1 | DEBIAN-CVE-2025-57352 |
| Debian 13 | node-min-document | Fix pending | DEBIAN-CVE-2025-57352 | |
| npm library | min-document | Fixed | 2.19.1 | GHSA-rx8g-88g5-qh64 |
References
- https://github.com/Raynos/min-document/issues/54
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.