-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
CVE-2025-57352 - Medium Severity Vulnerability
Vulnerable Library - min-document-2.19.0.tgz
A minimal DOM implementation
Library home page: https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- @osd/storybook-1.0.0.tgz (Root Library)
- addon-actions-6.5.16.tgz
- global-4.4.0.tgz
- ❌ min-document-2.19.0.tgz (Vulnerable Library)
- global-4.4.0.tgz
- addon-actions-6.5.16.tgz
Found in HEAD commit: 4fd064970b66ce555f48c22dfab6ed965d0e260a
Found in base branch: main
Vulnerability 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.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2025-09-24
URL: CVE-2025-57352
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: None