Skip to main content
VulnerabilityPublished Updated

CVE-2026-25896: NaturalIntelligence fast-xml-parser · Incorrect Regular Expression

Affects NaturalIntelligence fast-xml-parserSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.

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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
NaturalIntelligencefast-xml-parserAffected
  • >=5.0.0 <5.3.5
Fixed in
  • 5.3.5
NaturalIntelligencefast-xml-parserAffected
  • >=4.1.3 <4.5.4
Fixed in
  • 4.5.4

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 (&lt;, &gt;, &amp;, &quot;, &apos;) 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

Community reviews

Loading reviews…