Back to feed
21Track

fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names

NaturalIntelligence fast-xml-parser · CVE-2026-25896
0 news outlets0 CERTs and agencies0 research labs

Assessment: Track

SSVC decision points: exploitation poc, automatable yes, technical impact partial, deployment low.

What is it?

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.

Evidence

Official warnings1National CERTs, government cyber security agencies and the vendor’s own advisories

Exploitation

  • Exploit code published (not verified by us)
  • Exploited in the wild (confirmed by a source)
  • Listed as known exploited (CISA KEV)
CVSS
9.3
EPSS
0.5%
First seen
14 Oct 2026
Status
confirmed

All NaturalIntelligence vulnerabilities