---
id: CVE-2026-83619
title: >-
  xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core)
  DOMParser and XMLSerializer module
summary: >-
  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 …
severity: high
cwe:
  - CWE-400
  - CWE-1333
vendor: xmldom
product: '@xmldom/xmldom'
affected:
  - '@xmldom/xmldom >= 0.7.0, <= 0.8.14'
patched:
  - '@xmldom/xmldom 0.8.15'
published: '2026-09-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T21:11:31.703'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83619'
references:
  - url: >-
      https://github.com/xmldom/xmldom/commit/3abb0934f5a8a84d83a1f9cde0f2bd04c08b2a09
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/pull/1072'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/releases/tag/0.8.15'
    label: security-advisories@github.com
  - url: 'https://github.com/xmldom/xmldom/security/advisories/GHSA-x4fp-j954-r2f4'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-83619'
  - url: 'https://github.com/advisories/GHSA-x4fp-j954-r2f4'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83619.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-83619'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2526854'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-83619'
  - url: 'https://access.redhat.com/errata/RHSA-2026:69248'
tags:
  - nvd
  - ghsa
  - npm
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-x4fp-j954-r2f4
ecosystem: npm
epss: 0.00524
epssPercentile: 0.41999
ingestedAt: '2026-09-08T21:11:12.320Z'
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-83619)

Affected packages:

- `@xmldom/xmldom >= 0.7.0, <= 0.8.14`

Patched in:

- `@xmldom/xmldom 0.8.15`

Source: https://github.com/advisories/GHSA-x4fp-j954-r2f4

## Vendor advisories

- **RHSA-2026:69248** · Red Hat · fixed in: Red Hat Developer Hub 1.9 · released 2026-09-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:69248)
- **Red Hat VEX** · Important · affected: Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Fuse 7, Red Hat OpenShift AI (RHOAI) · no fix planned: Red Hat Fuse 7, Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83619.json)
