CVE-2026-25896: fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C+
CVE-2026-25896 is a critical-severity flaw (CVSS 9.3) 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. From 4.1.3to before 5.3.5, a dot (.) in a DOCTYPE entity name is treated as a regex wildcard during entity replacement, allowing an attacker to shadow built-in XML entities (<, >, &, ", ') with arbitrary values. This bypasses entity encoding and leads to XSS when parsed output is rend
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-09-10 · 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-25896?
fast-xml-parser: upgrade to 5.3.5. Exact commands for each OS are on this page.
Is CVE-2026-25896 being exploited?
CVE-2026-25896 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-25896 affect?
CVE-2026-25896 affects fast-xml-parser. Severity is critical (CVSS 9.3). 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. From 4.1.3to before 5.3.5, a dot (.) in a DOCTYPE entity name is treated as a regex wildcard du
How urgent is CVE-2026-25896?
Priority 54/100. Critical severity; Public exploit reference; 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-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
- CVE-2026-27942 HIGH 7.5 UPGRADE fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C+