Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-57352 EUVD-2025-31047GHSA-rx8g-88g5-qh64

min-document vulnerable to prototype pollution

Published Sep 24, 2025 · Updated Sep 25, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-min-document 2.19.2+~cs2.20.4-1 —
Debian 13 node-min-document No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-min-document No fix yet —
Ubuntu 26.04 LTS node-min-document No fix yet —
Ubuntu 25.10 node-min-document No fix yet —
Ubuntu 24.04 LTS node-min-document No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling grafana-image-renderer 4.1.5-r0 —
Wolfi rolling opensearch-dashboards-3-alerting-dashboards-plugin 3.4.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm min-document < 2.19.1 2.19.1 GHSA-rx8g-88g5-qh64

Advisories 1

References