cve.bz

CVE-2026-27942

2.7 lowEPSS 0.5%

Low (2.7) in naturalintelligence fast-xml-parser. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in fast-xml-parser 4.5.4, 5.3.8.

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.

Severity

CVSS 4.0

2.7 low
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
CWE
CWE-120
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fj3w-jwp8-x2g3npmfast-xml-parser>=5.0.0 <5.3.85.3.8
GHSA-fj3w-jwp8-x2g3npmfast-xml-parser>=4.0.0-beta.0 <4.5.44.5.4

References

Check your stackJSON