CVE-2025-57352

min-document: min-document prototype pollution

Published Sep 24, 2025 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-31047 min-document vulnerable to prototype pollution
Github GHSA Github GHSA GHSA-rx8g-88g5-qh64 min-document vulnerable to prototype pollution
History
Type Values Removed Values Added
Title min-document: min-document prototype pollution
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-1321
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 25, 2025, 6:25 PM
Reserved
Aug 17, 2025, 12:00 AM
Status
Deferred
Published
Sep 24, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:43 AM
Severity
Moderate
Public date
Sep 24, 2025, 12:00 AM