Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @xmldom/xmldom
  4. ›
  5. CVE-2026-83606

CVE-2026-83606: xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions

September 8, 2026

@xmldom/xmldom’s processing-instruction (PI) grammar regex exhibits quadratic-time backtracking (ReDoS) when parsing an unterminated processing instruction. A single small XML document containing <? + a target + a long run of whitespace and no closing ?> forces the regular expression engine into O(n²) work, stalling the Node.js event loop. The input is parsed with DOMParser.parseFromString under default options, so it is reachable from unauthenticated, network-delivered XML (SOAP/SAML, webhooks, uploads, XML APIs).

References

  • github.com/advisories/GHSA-g53g-w8rj-fmg7
  • github.com/xmldom/xmldom/commit/73df6b8bdbd86f904b9e8c3ab9c49aa54ef2802e
  • github.com/xmldom/xmldom/pull/1039
  • github.com/xmldom/xmldom/releases/tag/0.9.11
  • github.com/xmldom/xmldom/security/advisories/GHSA-g53g-w8rj-fmg7
  • nvd.nist.gov/vuln/detail/CVE-2026-83606

Code Behaviors & Features

Detect and mitigate CVE-2026-83606 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.9.0-beta.9 before 0.9.11

Fixed versions

  • 0.9.11

Solution

Upgrade to version 0.9.11 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/@xmldom/xmldom/CVE-2026-83606.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:07 +0000.