SB2026111617 - Inefficient regular expression complexity in fast-xml-parser
Published: November 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Inefficient regular expression complexity (CVE-ID: N/A)
CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service by blocking the Node.js event loop for tens of seconds.
The vulnerability exists due to quadratic-time whitespace rescanning in fast-xml-parser's scanAttributeTokens function in src/validator.js when processing an attribute section containing whitespace followed by a stray '=' without an attribute name. A remote attacker can submit XML constructed as "<a " + " ".repeat(200000) + "=>" to a service using XMLValidator.validate(xml) or new XMLParser().parse(xml, true) to exhaust processing resources.
Remediation
Install update from vendor's website.