CVE-2025-57352 Details
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.
A prototype pollution vulnerability has been identified in the 'min-document' package, affecting versions prior to 2.19.0. The issue arises from improper handling of namespace operations in the 'removeAttributeNS' method, which allows attackers to manipulate the prototype chain of JavaScript objects by processing malicious input that includes the '__proto__' property. This manipulation can lead to denial-of-service conditions or arbitrary code execution within applications using the affected package. The vulnerability is rooted in insufficient validation of attribute namespace removal operations, enabling unintended modifications of critical object prototypes. Notably, while version 2.19.0 is the latest available release, the vulnerability remains unaddressed in this version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2025CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Raynos/min-document/issues/54 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Raynos min-document | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | CVE Modified | CISA-ADP |
| Sep 24, 2025 | New CVE Received | [email protected] |
Volerion