CVE-2025-57352 min-document vulnerable to prototype pollution
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-min-document(Debian 13) | = 2.19.0+~cs2.20.2-2; = 2.19.2+~cs2.20.4-1; All versions | No fix listed | No fix yet |
| ubuntu/node-min-document(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-min-document(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-min-document(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-min-document(Debian 14) | < 2.19.2+~cs2.20.4-1; = 2.19.0+~cs2.20.2-2 | 2.19.2+~cs2.20.4-1 | Fixed |
| npm min-document(npm) | < 2.19.1; <= 2.19.0 | 2.19.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-min-document(Debian:13) | All versions | No fix listed |
| debian/node-min-document(Debian:13) | = 2.19.0+~cs2.20.2-2 | No fix listed |
| debian/node-min-document(Debian:13) | = 2.19.2+~cs2.20.4-1 | No fix listed |
| debian/node-min-document(Debian:14) | < 2.19.2+~cs2.20.4-1 | 2.19.2+~cs2.20.4-1 |
| debian/node-min-document(Debian:14) | = 2.19.0+~cs2.20.2-2 | No fix listed |
| npm min-document(npm) | <= 2.19.0 | No fix listed |
| ubuntu/node-min-document(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-min-document(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-min-document(Ubuntu:26.10) | All versions | No fix listed |
| npm min-document(npm) | < 2.19.1 | 2.19.1 |
References
- Debian Security Tracker CVE-2025-57352 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com exploit
- github.com patch
- github.com patch
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- github.com product