Closed mend-app-cvent[bot] closed 2 years ago
:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.
CVE-2021-21366 - Medium Severity Vulnerability
Vulnerable Library - xmldom-0.1.31.tgz
A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).
Library home page: https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/xml-encryption/node_modules/xmldom/package.json
Dependency Hierarchy: - xml-encryption-0.9.0.tgz (Root Library) - :x: **xmldom-0.1.31.tgz** (Vulnerable Library)
Found in HEAD commit: 73b34e5ab4dd4df4269ecbd89db52f145f10d284
Found in base branch: master
Vulnerability Details
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This is fixed in version 0.5.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.
Publish Date: 2021-03-12
URL: CVE-2021-21366
CVSS 3 Score Details (4.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv
Release Date: 2021-03-12
Fix Resolution (xmldom): 0.5.0
Direct dependency fix Resolution (xml-encryption): 1.2.3
:rescue_worker_helmet: Automatic Remediation is available for this issue