Medium severity5.3NVD Advisory· Published Sep 24, 2025· Updated Apr 15, 2026
CVE-2025-57352
CVE-2025-57352
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
min-documentnpm | < 2.19.1 | 2.19.1 |
Affected products
10- osv-coords10 versionspkg:apk/chainguard/foxx-clipkg:apk/chainguard/grafana-image-rendererpkg:apk/chainguard/opensearch-dashboards-2-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-2-fips-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-alerting-dashboards-pluginpkg:apk/chainguard/opensearch-dashboards-3-fips-alerting-dashboards-pluginpkg:apk/wolfi/grafana-image-rendererpkg:apk/wolfi/opensearch-dashboards-2-alerting-dashboards-pluginpkg:apk/wolfi/opensearch-dashboards-3-alerting-dashboards-pluginpkg:npm/min-document
< 2.1.1-r3+ 9 more
- (no CPE)range: < 2.1.1-r3
- (no CPE)range: < 4.1.5-r0
- (no CPE)range: < 2.19.4-r15
- (no CPE)range: < 2.19.4-r11
- (no CPE)range: < 3.5.0-r0
- (no CPE)range: < 3.5.0-r0
- (no CPE)range: < 4.1.5-r0
- (no CPE)range: < 2.19.4-r15
- (no CPE)range: < 3.5.0-r0
- (no CPE)range: < 2.19.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-rx8g-88g5-qh64ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-57352ghsaADVISORY
- github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6ghsaWEB
- github.com/Raynos/min-document/issues/54nvdWEB
- github.com/Raynos/min-document/pull/55ghsaWEB
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352nvdWEB
News mentions
0No linked articles in our index yet.