CVE catalog

CVE-2021-32796

node-xmldom: CVE-2021-32796

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-xmldomsid0.9.12-1fixed
Debiannode-xmldomforky0.9.12-1fixed
Debiannode-xmldomtrixie0.9.6-1fixed
Debiannode-xmldombookworm0.8.6-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-xmldomsourcesid0.7.3-1not yet assignedNot reported[991612]
Debiannode-xmldomsourceforky0.7.3-1not yet assignedNot reported[991612]
Debiannode-xmldomsourcetrixie0.7.3-1not yet assignedNot reported[991612]
Debiannode-xmldomsourcebookworm0.7.3-1not yet assignedNot reported[991612]

[Debian bug #991612]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.8.6-1 · all · bookworm

      Fixed · Fixed: 0.7.3-1

      dsa · node-xmldom · debian · bookworm; dsa · node-xmldom · debian · 12

    • 0.8.6-1 · all · bookworm

      Fixed · Fixed: 0.7.3-1

      dsa · node-xmldom · debian · bookworm; dsa · node-xmldom · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.9.6-1 · all · trixie

      Fixed · Fixed: 0.7.3-1

      dsa · node-xmldom · debian · 13

    • 0.9.6-1 · all · trixie

      Fixed · Fixed: 0.7.3-1

      dsa · node-xmldom · debian · 13

Observed:

References