SB20260814121 - Multiple vulnerabilities in xmldom



SB20260814121 - Multiple vulnerabilities in xmldom

Published: August 14, 2026

Security Bulletin ID SB20260814121
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 vulnerabilities.


1) Inefficient regular expression complexity (CVE-ID: N/A)

CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient regular expression complexity in the processing-instruction grammar regex in lib/grammar.js when parsing an unterminated processing instruction. A remote attacker can send a specially crafted XML document to cause a denial of service.

The issue is reachable through DOMParser.parseFromString under default options and can stall the Node.js event loop during parsing.


2) XML injection (CVE-ID: N/A)

CWE-ID: CWE-91 - XML Injection

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to inject attributes into serialized output.

The vulnerability exists due to improper input validation in Element.setAttribute() and XMLSerializer when processing user-controlled attribute names during serialization. A remote attacker can supply a crafted attribute name to inject attributes into serialized output.

This can include injection of event handler attributes into HTML output consumed by browsers, and the issue occurs because attribute names are emitted verbatim while only attribute values are escaped.


3) XML injection (CVE-ID: N/A)

CWE-ID: CWE-91 - XML Injection

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to inject arbitrary content into serialized XML or HTML output.

The vulnerability exists due to xml injection in Document.createElement() and XMLSerializer.serializeToString() when processing a user-controlled element name during serialization. A remote attacker can supply a specially crafted tagName value to inject arbitrary content into serialized XML or HTML output.

The issue bypasses the serializer\'s requireWellFormed check and can lead to cross-site scripting when the serialized output is consumed by a browser.


Remediation

Install update from vendor's website.