Read the docs

Quadratic CPU consumption in fast-xml-parser stop-node parsing

Priority LOW 18CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 13 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-407.

Summary

NaturalIntelligence fast-xml-parser versions before 5.12.0 are affected. When the non-default stopNodes option is enabled, unterminated stop-node bodies make the parser repeatedly rescan the remaining input, an inefficient algorithmic complexity flaw (CWE-407). A remote unauthenticated attacker can send XML with many tag fragments and no closing character, blocking the Node.js event loop and exhausting CPU before parsing fails.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character in an unterminated stop-node body and repeatedly rescans the remaining input while looking for a closing greater-than character. An attacker who supplies XML containing many tag fragments without a later closing character can cause quadratic rescanning before parsing fails, blocking a Node.js event loop and causing CPU-exhaustion denial of service. This issue is fixed in version 5.12.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00459 40th percentileScored 2026-11-16
Fix Partial fast-xml-parser (NaturalIntelligence): 5.12.0fast-xml-parser (npm): 5.12.0Red Hat: 13 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NaturalIntelligencefast-xml-parserbefore 5.12.05.12.0Patch availableCNA
—fast-xml-parser (npm)before 5.12.05.12.0Patch availableGHSA-474x-hrwr-fgx4
  • fast-xml-parser VendorNaturalIntelligence Affected before 5.12.0 Fixed in 5.12.0 Patch available CNA
  • fast-xml-parser (npm) Vendor— Affected before 5.12.0 Fixed in 5.12.0 Patch available GHSA-474x-hrwr-fgx4

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*——NaturalIntelligence
  • cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:* Versions — — ·NaturalIntelligence

Remediation

Upgrade the NaturalIntelligence fast-xml-parser and the npm fast-xml-parser package to version 5.12.0. Red Hat lists no fix available for Cryostat 4, Migration Toolkit for Applications 8, OpenShift Serverless, Red Hat Advanced Cluster Security 4 and 5, Red Hat Connectivity Link 1, Red Hat Developer Hub 1 and 2, Red Hat OpenShift GitOps, Red Hat OpenShift Virtualization 5, Red Hat Openshift Data Foundation 4 and Self-service automation portal 2. Red Hat has no fix planned for Red Hat OpenShift Virtualization 4.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · CNA fast-xml-parser (NaturalIntelligence) Fixed in 5.12.0
  • Fix · GHSA-474x-hrwr-fgx4 fast-xml-parser (npm) Fixed in 5.12.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Cryostat 4AffectedNo fix yet: Fix deferred
Migration Toolkit for Applications 8AffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 5AffectedNo fix yet: Fix deferred
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 2AffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix planned: Out of support scope
Red Hat OpenShift Virtualization 5AffectedNo fix yet: Fix deferred
Red Hat Openshift Data Foundation 4AffectedNo fix yet: Fix deferred
Self-service automation portal 2AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-126066
  2. 2026-11-10 Alias added: GHSA-474x-hrwr-fgx4
  3. 2026-11-10 Fix available: npm/[email protected] · GHSA-474x-hrwr-fgx4
  4. 2026-11-10 CVSS score added · GHSA-474x-hrwr-fgx4
  5. 2026-11-10 Weakness changed · GHSA-474x-hrwr-fgx4
  6. 2026-11-10 4 new references · GHSA-474x-hrwr-fgx4
  7. 2026-11-11 Affected versions changed · Red Hat
  8. 2026-11-11 CVSS score added · Red Hat
  9. 2026-11-12 CISA SSVC decision points changed

References

  • TI-2026-20935 fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names CVSS 3.1CRITICAL 9.3
  • TI-2026-25482 fast-xml-parser affected by numeric entity expansion bypassing all entity expansion… CVSS 3.1HIGH 7.5
  • TI-2026-20291 fast-xml-parser has RangeError DoS Numeric Entities Bug CVSS 3.1HIGH 7.5
  • TI-2026-32565 fast-xml-builder: Attribute values with unwanted quotes can bypass malicious or unwanted attributes CVSS 3.1MEDIUM 6.1
  • TI-2026-30169 fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters CVSS 3.1MEDIUM 6.1
  • TI-2026-25755 fast-xml-parser: Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation CVSS 3.1MEDIUM 5.9
See all 13 →

Sources