CVE-2026-25896: NaturalIntelligence fast-xml-parser · Incorrect Regular Expression
Affects NaturalIntelligence fast-xml-parserSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical : upgrade to 5.3.5 or 4.5.4 as a priority.
Data as of 23 Nov 2026, 21:14 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.3.5, 4.5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade NaturalIntelligence fast-xml-parser to 5.3.5 or 4.5.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NaturalIntelligencefast-xml-parser | Affected
| Fixed in
|
| NaturalIntelligencefast-xml-parser | Affected
| Fixed in
|
AI-suggested
A fix is available in fast-xml-parser version 5.3.5. Users and vendors are advised to upgrade to this version to remediate the vulnerability. Red Hat currently has no alternative mitigations that meet their criteria for ease of use and applicability. Therefore, upgrading to the fixed version is the recommended remediation.
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.
References
- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-m7jm-9gc2-mpf2 (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/commit/943ef0eb1b2d3284e72dd74f44a042ee9f07026e (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/commit/ddcd0acf26ddd682cb0dc15a2bd6aa3b96bb1e69 (opens in a new tab)
- github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.5 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-25896 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2441501 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25896.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7110 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7128 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6174 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6802 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41941 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41944 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40984 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:51349 (opens in a new tab)