CVE-2026-25896

CRITICAL CVSS 3.1: 9.3 EPSS 0.52%
Updated Sep 10, 2026
Naturalintelligence
Parameter Value
CVSS 9.3 (CRITICAL)
Affected Versions 4.1.3 — 5.3.5
Fixed In 5.3.5
Type CWE-79 (Cross-Site Scripting (XSS)), CWE-185
Vendor Naturalintelligence
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Naturalintelligence Fast-Xml-Parser
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*
4.1.3 5.3.5