CVE-2025-57352 min-document vulnerable to prototype pollution

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-57352?

CVE-2025-57352 is a medium-severity vulnerability in n/a, published on 24 Sep 2025.

Official 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.

Weakness: CWE-1321

Which versions are affected by CVE-2025-57352?

2 open source packages ship an affected version, including min-document.

PackageAffectedFixed in
min-document npmAll versions2.19.1
min-document npmAll versions2.19.1

How do I fix CVE-2025-57352?

Upgrade min-document to 2.19.1 or later.

Is CVE-2025-57352 being exploited?

There is no known exploitation of CVE-2025-57352 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-57352, GHSA-rx8g-88g5-qh64, MINI-qwpj-q2fv-hh8p, MINI-rwm5-8964-4wcr, MINI-wpfp-274h-v47j, UBUNTU-CVE-2025-57352.

Is CVE-2025-57352 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free