-
Notifications
You must be signed in to change notification settings - Fork 513
[GHSA-rx8g-88g5-qh64] min-document vulnerable to prototype pollution #6392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| { | ||
| "schema_version": "1.4.0", | ||
| "id": "GHSA-rx8g-88g5-qh64", | ||
| "modified": "2025-09-29T13:12:07Z", | ||
| "modified": "2025-09-29T13:12:11Z", | ||
| "published": "2025-09-24T18:30:31Z", | ||
| "aliases": [ | ||
| "CVE-2025-57352" | ||
| ], | ||
| "summary": "min-document vulnerable to prototype pollution", | ||
| "details": "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.", | ||
| "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 remains unaddressed in the latest available version.", | ||
| "severity": [ | ||
| { | ||
| "type": "CVSS_V4", | ||
| "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" | ||
| "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" | ||
|
||
| } | ||
| ], | ||
| "affected": [ | ||
|
|
@@ -28,7 +28,7 @@ | |
| "introduced": "0" | ||
| }, | ||
| { | ||
| "last_affected": "2.19.0" | ||
| "fixed": "2.19.1" | ||
| } | ||
| ] | ||
| } | ||
|
|
@@ -44,6 +44,10 @@ | |
| "type": "WEB", | ||
| "url": "https://github.com/Raynos/min-document/issues/54" | ||
| }, | ||
| { | ||
| "type": "WEB", | ||
| "url": "https://github.com/Raynos/min-document/pull/55" | ||
| }, | ||
| { | ||
| "type": "PACKAGE", | ||
| "url": "https://github.com/Raynos/min-document" | ||
|
|
@@ -57,7 +61,7 @@ | |
| "cwe_ids": [ | ||
| "CWE-1321" | ||
| ], | ||
| "severity": "LOW", | ||
| "severity": "MODERATE", | ||
| "github_reviewed": true, | ||
| "github_reviewed_at": "2025-09-29T13:12:07Z", | ||
| "nvd_published_at": "2025-09-24T18:15:41Z" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The details field states 'The vulnerability remains unaddressed in the latest available version,' but this contradicts the update showing the vulnerability is fixed in version 2.19.1. This sentence should be removed or updated to reflect that the vulnerability has been addressed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good catch, this suggestion should be applied