ghsa-rx8g-88g5-qh64
Vulnerability from github
Published
2025-09-24 18:30
Modified
2025-11-06 18:20
Severity ?
VLAI Severity ?
Summary
min-document vulnerable to prototype pollution
Details
A vulnerability exists in the 'min-document' package prior to version 2.19.1, 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 is addressed in version 2.19.1.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 2.19.0"
},
"package": {
"ecosystem": "npm",
"name": "min-document"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.19.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-57352"
],
"database_specific": {
"cwe_ids": [
"CWE-1321"
],
"github_reviewed": true,
"github_reviewed_at": "2025-09-29T13:12:07Z",
"nvd_published_at": "2025-09-24T18:15:41Z",
"severity": "LOW"
},
"details": "A vulnerability exists in the \u0027min-document\u0027 package prior to version 2.19.1, 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 is addressed in version 2.19.1.",
"id": "GHSA-rx8g-88g5-qh64",
"modified": "2025-11-06T18:20:23Z",
"published": "2025-09-24T18:30:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-57352"
},
{
"type": "WEB",
"url": "https://github.com/Raynos/min-document/issues/54"
},
{
"type": "WEB",
"url": "https://github.com/Raynos/min-document/pull/55"
},
{
"type": "WEB",
"url": "https://github.com/Raynos/min-document/commit/fe32e8da464cef622528725f647029a8fd7d95a6"
},
{
"type": "PACKAGE",
"url": "https://github.com/Raynos/min-document"
},
{
"type": "WEB",
"url": "https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57352"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "min-document vulnerable to prototype pollution"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…