Low, CVSS 2.9npmAmendedPublished
min-document vulnerable to prototype pollution
CVE-2025-57352 · GHSA-rx8g-88g5-qh64
- Affected
- npm min-document <= 2.19.0
- Fixed in
- 2.19.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.19.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.