CVE-2026-27942

LOW EPSS 37.7%
Published Feb 26, 20264mo ago · Modified Jun 17, 20261w ago
2.7 CVSS 4.0
Low
Find Similar
Published Feb 26, 2026 4mo ago
Last Modified Jun 17, 2026 1w ago

Description

fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.

CVSS Details

Base Score
2.7
Exploitability
Impact
Vector string
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/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
37.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-120

Affected Products 2

VendorProductVersionRange
naturalintelligencefast-xml-parser* <4.5.4
naturalintelligencefast-xml-parser*≥5.0.0  –  <5.3.8

References 3

  • github.com https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a
    Patch
  • github.com https://github.com/NaturalIntelligence/fast-xml-parser/pull/791
    Issue TrackingPatch
  • github.com https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3
    Vendor Advisory

Remediation

  • github.com https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a
    Patch
  • github.com https://github.com/NaturalIntelligence/fast-xml-parser/pull/791
    Issue TrackingPatch