CVE-2021-21366
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…
Does this matter?
Lower severity and a low EPSS score (1.34%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 4.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- EPSS
- 1.34% probability · 70th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-115, CWE-436
- Affected
- xmldom project/xmldom · debian/debian linux
- Source
- security-advisories@github.com
References
- https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135Patch
- https://github.com/xmldom/xmldom/releases/tag/0.5.0Release Notes
- https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfvVendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00000.htmlMailing List, Third Party Advisory
- https://www.npmjs.com/package/xmldomProduct
- https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135Patch
- https://github.com/xmldom/xmldom/releases/tag/0.5.0Release Notes
- https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfvVendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00000.htmlMailing List, Third Party Advisory
- https://www.npmjs.com/package/xmldomProduct
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.