Prototype pollution via inherited namespace property deletion
Published Sep 24, 2025 · Updated Sep 24, 2025
Prototype pollution in min-document 2.19.0 and earlier allows remote attackers to alter inherited object properties via crafted namespace names. The removeAttributeNS method indexes its _attributes object with an untrusted namespace, so proto resolves to the prototype object and the requested property is deleted from it. Exploitation requires a consuming application to pass attacker-controlled namespace and attribute names; the demonstrated consequence is deletion of Object.prototype.toString, which can disrupt application behavior.
Summary
What happened
Prototype pollution in min-document 2.19.0 and earlier allows remote attackers to alter inherited object properties via crafted namespace names. The removeAttributeNS method indexes its _attributes object with an untrusted namespace, so proto resolves to the prototype object and the requested property is deleted from it. Exploitation requires a consuming application to pass attacker-controlled namespace and attribute names; the demonstrated consequence is deletion of Object.prototype.toString, which can disrupt application behavior.
The record
- CVE
- CVE-2025-57352
- Published
- Sep 24, 2025
- Updated
- Sep 24, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-1321
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 24, 2025CVE publishedPublication date reported by the CVE source.
- Sep 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2025-57352 min-document prototype-deletion PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo