CVE-2026-83619

High

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.

SeverityHigh
CVSS8.7
Exploit probability—
Product@xmldom/xmldom
PublishedSep 1, 2026
First seenSep 1, 2026

How to fix

Update
  • @xmldom/xmldom0.8.15 or later

Affected products

ProductAffected versionsFixed in
@xmldom/xmldomnpm0.7.0 ≤ v < 0.8.150.8.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.