CVE-2025-57352
A vulnerability exists in the 'min-document' package prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2025-57352
- github.com/Raynos/min-document/issues/54
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352
- github.com/Raynos/min-document/pull/55
- github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6
- github.com/advisories/GHSA-rx8g-88g5-qh64
- nvd.nist.gov/vuln/detail/CVE-2025-57352
- cve.org/CVERecord?id=CVE-2025-57352
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.