CVE-2021-32796

Misinterpretation of malicious XML input in xmldom

Published Jul 27, 2021 CVSS 3.1 · 6.5 Medium EPSS 1.4% KEV · Not listed
Description
xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.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
EUVD EUVD EUVD-2021-1574 xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.
Github GHSA Github GHSA GHSA-5fg8-2547-mr8q Misinterpretation of malicious XML input
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 11:33 PM
Reserved
May 12, 2021, 12:00 AM
Status
Modified
Published
Jul 27, 2021, 10:15 PM
Modified
Jun 17, 2026, 3:53 AM
Severity
Moderate
Public date
Jul 27, 2021, 12:00 AM