CVE-2021-32796

CVE-2021-32796 is a medium-severity vulnerability in Xmldom Project Xmldom with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-91.

Key facts

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.

Frequently asked questions

What is CVE-2021-32796?
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.
How severe is CVE-2021-32796?
CVE-2021-32796 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2021-32796 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-32796?
CVE-2021-32796 affects Xmldom Project Xmldom. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2021-32796?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2021-32796 published?
CVE-2021-32796 was published on 2021-07-27 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Xmldom Project Xmldom

All CVEs affecting Xmldom Project Xmldom →

Other CWE-91 (XML Injection) vulnerabilities

Browse all CWE-91 (XML Injection) vulnerabilities →