Resource Exhaustion Affecting node-xmldom package, versions <0.9.5-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.52% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODEXMLDOM-19498293
  • published2 Sept 2026
  • disclosed1 Sept 2026

Introduced: 1 Sep 2026

CVE-2026-83619  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-xmldom to version 0.9.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-xmldom package and not the node-xmldom package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1