GitHub Advisoryadvisory · npm

GHSA-rx8g-88g5-qh64 min-document vulnerable to prototype pollution

LOW Published 2025-09-24 Modified 2025-11-06 Official page ↗
Aliases
CVE-2025-57352
Ecosystem
npm
Packages
min-document
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Weaknesses
CWE-1321
Reviewed
2025-09-29

Affected packages

• npm min-document: < 2.19.1 → fixed in 2.19.1

Description

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References