CVE-2026-27942: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C+
CVE-2026-27942 is a high-severity flaw (CVSS 7.5) affecting fast-xml-parser. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2026-02-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-27942?
fast-xml-parser: upgrade to 4.5.4, 5.3.8. Exact commands for each OS are on this page.
Is CVE-2026-27942 being exploited?
CVE-2026-27942 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-27942 affect?
CVE-2026-27942 affects fast-xml-parser. Severity is high (CVSS 7.5). 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 w
How urgent is CVE-2026-27942?
Priority 43/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-41650 MEDIUM 6.1 UPGRADE fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks
- CVE-2026-25896 CRITICAL 9.3 UPGRADE fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C+
- CVE-2026-33349 MEDIUM 5.9 UPGRADE fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks
- CVE-2026-33036 HIGH 7.5 UPGRADE fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks