Vulnerability · Published Sep 24, 2025 · Assigned by mitre
CVE-2025-57352
Medium 5.3
In plain English
A medium-severity prototype pollution in the node-min-document package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | node-min-document | no fix listed | DEBIAN-CVE-2025-57352 |
| Debian:14 | node-min-document | 2.19.2+~cs2.20.4-1 | DEBIAN-CVE-2025-57352 |
| Ubuntu:24.04:LTS | node-min-document | no fix listed | UBUNTU-CVE-2025-57352 |
| Ubuntu:25.10 | node-min-document | no fix listed | UBUNTU-CVE-2025-57352 |
| Ubuntu:26.04:LTS | node-min-document | no fix listed | UBUNTU-CVE-2025-57352 |
| Ubuntu:26.10 | node-min-document | no fix listed | UBUNTU-CVE-2025-57352 |
| npm | min-document | 2.19.1 | GHSA-rx8g-88g5-qh64 |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N