CVE-2021-32796 Details
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.
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/7b4b743917a892d407356e055b296dcd6d107e8b | CVE | PatchThird Party Advisory |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q | CVE | Third Party Advisory |
| https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/ | CVE | Not ApplicableThird Party Advisory |
| https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b | [email protected] | PatchThird Party Advisory |
| https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q | [email protected] | Third Party Advisory |
| https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/ | [email protected] | Not ApplicableThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-91 | XML Injection (aka Blind XPath Injection) | [email protected] |
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xmldom project xmldom | < 0.7.0 |
CPE
Remediation
| |
Change History
5 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] |
| Apr 25, 2022 | Reanalysis | [email protected] |
| Aug 4, 2021 | Initial Analysis | [email protected] |