fast-xml-parser: Quadratic-time (ReDoS-class) denial of service
Affects fast-xml-parserSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 5.12.1 when convenient.
Data as of 2 Dec 2026, 00:19 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 5.12.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade fast-xml-parser to 5.12.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmfast-xml-parser | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in fast-xml-parser version 5.12.1. Users should upgrade to version 5.12.1 or later to remediate this vulnerability. No additional mitigation steps are required if the upgrade is applied.
Description
fast-xml-parser versions prior to 5.12.1 contain a quadratic-time Regular Expression Denial of Service (ReDoS) vulnerability in the XMLValidator attribute scanner. The flaw occurs when parsing XML attributes with leading whitespace followed by a stray '=' character, causing the validator to repeatedly rescan whitespace and resulting in quadratic time complexity. This can stall the Node.js event loop for tens of seconds when processing a few-hundred-KB XML document, leading to a denial of service on the default parsing and validation path.
References
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141469 (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6c (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1 (opens in a new tab)