Critical severity · published Feb 20, 2026
CVE-2026-25896
fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names
9.3
CVSS
0.5%
EPSS
No
On KEV
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. 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 rendered. This vulnerability is fixed in 5.3.5.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
fast-xml-parser · NaturalIntelligence
>= 5.0.0, < 5.3.5; >= 4.1.3, < 4.5.4 · source: vendor, NVD
MT
Migration Toolkit for Applications 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Advanced Cluster Security 4.8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Advanced Cluster Security 4.9 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Developer Hub 1.8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Developer Hub 1.9 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift GitOps · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat OpenShift Virtualization 4 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Openshift Data Foundation 4.18 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Openshift Data Foundation 4.19 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Openshift Data Foundation 4.20 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Satellite 6.18 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-25896
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-25896
Patch
https://github.com/NaturalIntelligence/fast-xml-parser/commit/943ef0eb1b2d3284e72dd74f44a042ee9f07026e
Patch
https://github.com/NaturalIntelligence/fast-xml-parser/commit/ddcd0acf26ddd682cb0dc15a2bd6aa3b96bb1e69
Product
https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.5
Exploit
https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-m7jm-9gc2-mpf2
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:40984
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:41941
More from fast-xml-parser
8.7
CVE-2026-73569
fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits
7.5
CVE-2026-33036
fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)
7.5
CVE-2026-27942
fast-xml-parser has stack overflow in XMLBuilder with preserveOrder
7.5
CVE-2026-26278
fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit)
7.5
CVE-2026-25128
fast-xml-parser has RangeError DoS Numeric Entities Bug
