CVE-2026-83619xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x…
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-xmldom | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | node-xmldom | Under investigation | UBUNTU-CVE-2026-83619 | |
| Ubuntu 22.04 | node-xmldom | Under investigation | UBUNTU-CVE-2026-83619 | |
| Ubuntu 20.04 | node-xmldom | Fix pending | UBUNTU-CVE-2026-83619 | |
| Debian 14 | node-xmldom | Fixed | 0.9.5-1 | DEBIAN-CVE-2026-83619 |
| Debian 13 | node-xmldom | Fixed | 0.9.5-1 | DEBIAN-CVE-2026-83619 |
| Debian 12 | node-xmldom | Fix pending | DEBIAN-CVE-2026-83619 | |
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Affected | ||
| npm library | @xmldom/xmldom | Fixed | 0.8.15 | GHSA-x4fp-j954-r2f4 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xmldom: affected: >= 0.7.0, < 0.8.15
- @xmldom xmldom: affected: >= 0.7.0, < 0.8.15
References
- https://github.com/xmldom/xmldom/security/advisories/GHSA-x4fp-j954-r2f4
- https://github.com/xmldom/xmldom/pull/1072
- https://github.com/xmldom/xmldom/commit/3abb0934f5a8a84d83a1f9cde0f2bd04c08b2a09
- https://github.com/xmldom/xmldom/releases/tag/0.8.15
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.