CVE-2021-21366 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 | CVE | Patch |
| https://github.com/xmldom/xmldom/releases/tag/0.5.0 | CVE | Release Notes |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv | CVE | Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html | CVE | Mailing ListThird Party Advisory |
| https://www.npmjs.com/package/xmldom | CVE | Product |
| https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 | [email protected] | Patch |
| https://github.com/xmldom/xmldom/releases/tag/0.5.0 | [email protected] | Release Notes |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv | [email protected] | Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html | [email protected] | Mailing ListThird Party Advisory |
| https://www.npmjs.com/package/xmldom | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-436 | Interpretation Conflict | [email protected] |
| CWE-115 | Misinterpretation of Input | [email protected] |
| CWE-436 | Interpretation Conflict | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xmldom project xmldom | < 0.5.0 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 28, 2023 | Modified Analysis | [email protected] |
| Jan 1, 2023 | CVE Modified | [email protected] |
| Mar 22, 2021 | Initial Analysis | [email protected] |