min-document vulnerable to prototype pollution
A vulnerability exists in the 'min-document' package prior to version 2.19.1, 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 is addressed in version 2.19.1.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-57352US | — | — | ||
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… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/Raynos/min-documentPACKAGE
- https://github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6WEB
- https://github.com/Raynos/min-document/issues/54WEB
- https://github.com/Raynos/min-document/pull/55WEB
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57352ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan