Fast Xml Parser
CVE-2026-25896
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Primary rating from Vendor (github).
CVSS VectorVendor: github
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
ReDoS in fast-xml-parser before fix via crafted XML. PoC and patch available.
Technical ContextAI
CWE-185 incorrect regex in XML parsing.
RemediationAI
Apply patch.
More in Fast Xml Parser
View allFast XML Parser versions 4.1.3 through 5.3.5 are vulnerable to XML entity expansion attacks that allow remote attackers
Fast-xml-parser versions 5.0.9 through 5.3.3 crash when processing XML containing out-of-range numeric entity code point
fast-xml-parser is an open source, pure javascript xml parser. Rated high severity (CVSS 7.5), this vulnerability is rem
fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution. Rated medium severity (CVSS 6.5), this vulnerabil
Stack overflow denial of service in fast-xml-parser versions prior to 5.3.8 occurs when the XML builder is used with the
fast-xml-parser is an open source, pure javascript xml parser. Rated high severity (CVSS 7.5), this vulnerability is rem
Same weakness CWE-185 – Incorrect Regular Expression
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-m7jm-9gc2-mpf2