Live threats

All CVEs / Naturalintelligence

CVE-2026-25896Naturalintelligence Fast-xml-parser

Critical 9.3 No auth needed

Priority
71
CVSS 3.1
9.3
EPSS
—
Auth required
No
Published
Feb 20, 2026
Updated
Sep 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-185, CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fast-xml-parser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm fast-xml-parser ≥ 5.0.0 < 5.3.5 5.3.5 npm install fast-xml-parser@5.3.5
npm fast-xml-parser ≥ 4.1.3 < 4.5.4 4.5.4 npm install fast-xml-parser@4.5.4

Per OSV / GitHub Advisories (GHSA-m7jm-9gc2-mpf2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
naturalintelligencefast-xml-parser≥ 4.1.3 < 5.3.5

Official sources

References

Links published by the sources. Open them with care.