Live threats

All CVEs / Naturalintelligence

CVE-2026-27942Naturalintelligence Fast-xml-parser

Low 2.7 No auth needed

Priority
31
CVSS 4.0
2.7
EPSS
—
Auth required
No
Published
Feb 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fast-xml-parser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm fast-xml-parser ≥ 5.0.0 < 5.3.8 5.3.8 npm install fast-xml-parser@5.3.8
npm fast-xml-parser ≥ 4.0.0-beta.0 < 4.5.4 4.5.4 npm install fast-xml-parser@4.5.4

Per OSV / GitHub Advisories (GHSA-fj3w-jwp8-x2g3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
naturalintelligencefast-xml-parser< 4.5.4
naturalintelligencefast-xml-parser≥ 5.0.0 < 5.3.8

Official sources

References

Links published by the sources. Open them with care.