VDB

CVE-2021-32796

CVE-2021-32796 PUBLISHED CVSS 6.5 MEDIUM

Misinterpretation of malicious XML input in xmldom

Reported by github_m · Published July 27, 2021

xmldom is fixed in 0.6.0 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xmldomnpm0.6.0

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
xmldomxmldom< 0.7.0
xmldomxmldom0
xmldomxmldom0
npmxmldom0
chainguardwazuh-dashboard0
chainguardwazuh-dashboard-fips0

Timeline

  • Jul 27, 2021 CVE Published
  • Jul 28, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32796
vulnetix vdb fixes CVE-2021-32796

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32796/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›