xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and…
Historical advisory recorded 24 Oct 2026 18:17:28 UTC. Read the latest advisory.
nvd · CVE-2021-32796
Publishedxmldom 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2021-32796
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-116 · CWE-91
Original publisher date fields
published: 2021-07-27T22:15:07.690
lastModified: 2026-06-17T03:53:38.860
1 source CPE criteria · context only
- cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON