CVE-2026-141469
fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| fast-xml-parser NaturalIntelligence |
< 5.12.1 (affected) | CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CNA: GitHub_M |
Exploit evidence
References
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jcCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6cCNA: GitHub_M · x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1CNA: GitHub_M · x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jcADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.