CVE-2025-57352
MEDIUM 5.3CVSS 3.1min-document vulnerable to prototype pollution
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.
- Published
- 24 Sep 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-rx8g-88g5-qh64
- Sources
- NVDJSONOSV GHSA-rx8g-88g5-qh64JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | min-document | < 2.19.1 | 2.19.1 |
References
- https://github.com/Raynos/min-document/issues/54 · WEB
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57352 · ADVISORY
- https://github.com/Raynos/min-document/pull/55 · WEB
- https://github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6 · WEB
- https://github.com/Raynos/min-document · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)