All CVEs / Naturalintelligence
CVE-2026-25896Naturalintelligence Fast-xml-parser
Critical 9.3 No auth needed
Follow: this CVE · Naturalintelligence · Naturalintelligence Fast-xml-parser We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Feb 20, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Fast-xml-parser.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| naturalintelligence | fast-xml-parser | ≥ 4.1.3 < 5.3.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com