Skip to main content
CVE-2026-141469VulnerabilityPublished

fast-xml-parser: Quadratic-time (ReDoS-class) denial of service

Affects fast-xml-parserSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141469· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmfast-xml-parserAffected
  • <5.12.1
Fixed in
  • 5.12.1

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

Community reviews

Loading reviews…