Skip to content

CVE-2026-83619 xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser

HighCVSS 8.7 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.7.0 until 0.8.15, the release-0.8.x parser in lib/sax.js trims captured end-tag names with the unanchored global expression /[ \t\n\r]+$/g. For an end tag containing a long whitespace run followed by a non-whitespace character, the expression retries from each possible starting position and backtracks quadratically before failing its end anchor. DOMParser.parseFromString() reaches the path under default options, allowing a small unauthenticated XML input to stall the Node.js event loop; the 0.9.x and unscoped npm lines do not contain this expression. This issue is fixed in @xmldom/xmldom version 0.8.15.

Upgrade path

12 packages: 3 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
azure linux python-tensorboard(Azure Linux 3.0) All versions No fix listed No fix yet
debian/node-xmldom(Debian 12) = 0.8.6-1; = 0.9.5-1; = 0.9.6-1; = 0.9.8-1 +7 more No fix listed No fix yet
redhat/grafana(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/rh-podman-desktop.git(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9:1789554285(Red Hat rhdh 1.9 el9) All versions No fix listed No fix yet
redhat/xmldom(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
ubuntu/node-xmldom(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-xmldom(Ubuntu 24.04) All versions No fix listed No fix yet
debian/node-xmldom(Debian 13) < 0.9.5-1 0.9.5-1 Fixed
debian/node-xmldom(Debian 14) < 0.9.5-1 0.9.5-1 Fixed
xmldom(npm) >= 0.7.0, < 0.8.15; >= 0.7.0, <= 0.8.14 0.8.15 Fixed
xmldom = >= 0.7.0, < 0.8.15 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
xmldom = >= 0.7.0, < 0.8.15 No fix listed
redhat/rhdh/rhdh-hub-rhel9:1789554285(Red Hat:rhdh:1.9::el9) All versions No fix listed
redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/xmldom(Red Hat:jboss_fuse:7) All versions No fix listed
xmldom(npm) >= 0.7.0, <= 0.8.14 No fix listed
debian/node-xmldom(Debian:12) All versions No fix listed
debian/node-xmldom(Debian:12) = 0.8.6-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.10-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.10-2 No fix listed
debian/node-xmldom(Debian:12) = 0.9.11-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.12-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.5-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.6-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.8-1 No fix listed
debian/node-xmldom(Debian:12) = 0.9.8-2 No fix listed
debian/node-xmldom(Debian:12) = 0.9.9-1 No fix listed
debian/node-xmldom(Debian:13) < 0.9.5-1 0.9.5-1
debian/node-xmldom(Debian:14) < 0.9.5-1 0.9.5-1
ubuntu/node-xmldom(Ubuntu:22.04) All versions No fix listed
ubuntu/node-xmldom(Ubuntu:24.04) All versions No fix listed
xmldom(npm) >= 0.7.0, < 0.8.15 0.8.15
azure linux python-tensorboard(Azure Linux:3.0) All versions No fix listed

References