CVE-2021-21366

Misinterpretation of malicious XML input

Published Mar 12, 2021 CVSS 3.1 · 4.3 Medium EPSS 1.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3260-1 node-xmldom security update
EUVD EUVD EUVD-2021-0663 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.
Github GHSA Github GHSA GHSA-h6q6-9hqw-rwfv Misinterpretation of malicious XML input
Ubuntu USN Ubuntu USN USN-6102-1 xmldom vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Mar 12, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:35 AM
Severity
Moderate
Public date
Mar 12, 2023, 12:00 AM