PatchSiren cyber security CVE debrief
CVE-2026-25896 NaturalIntelligence CVE debrief
A critical vulnerability was discovered in fast-xml-parser, a popular XML parsing library. The vulnerability, tracked as CVE-2026-25896, allows an attacker to inject malicious XML entities, leading to cross-site scripting (XSS) attacks. The vulnerability affects versions 4.1.3 to before 5.3.5 of the library. An attacker can exploit this vulnerability by crafting a malicious XML document that is then parsed by the library, allowing for arbitrary code execution. The vulnerability has been fixed in version 5.3.5 of the library.
- Vendor
- NaturalIntelligence
- Product
- fast-xml-parser
- CVSS
- CRITICAL 9.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-02-20
- Original CVE updated
- 2026-09-10
- Advisory published
- 2026-02-20
- Advisory updated
- 2026-09-10
Who should care
Developers and security teams who use fast-xml-parser in their applications should be aware of this vulnerability and take immediate action to patch it. Additionally, security teams should monitor their applications for any suspicious activity that may indicate exploitation of this vulnerability.
Technical summary
The vulnerability in fast-xml-parser allows an attacker to inject malicious XML entities, leading to XSS attacks. The vulnerability is caused by a dot (.) in a DOCTYPE entity name being treated as a regex wildcard during entity replacement. This allows an attacker to shadow built-in XML entities (<, >, &, ", ') with arbitrary values, bypassing entity encoding and leading to XSS when parsed output is rendered. The vulnerability has a CVSS score of 9.3 and is considered critical.
Defensive priority
High
Recommended defensive actions
- Upgrade to version 5.3.5 of fast-xml-parser
- Monitor applications for suspicious activity
- Implement additional security measures to prevent XSS attacks
- Review and update XML parsing code to ensure secure parsing
- Consider implementing a web application firewall (WAF) to detect and prevent attacks
Evidence notes
The vulnerability was discovered and reported by an unknown researcher. The vulnerability has been confirmed by the vendor and a patch has been released. The vulnerability affects versions 4.1.3 to before 5.3.5 of the library.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-25896 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-25896
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-25896 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-25896
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/NaturalIntelligence/fast-xml-parser/commit/943ef0eb1b2d3284e72dd74f44a042ee9f07026e
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/NaturalIntelligence/fast-xml-parser/commit/ddcd0acf26ddd682cb0dc15a2bd6aa3b96bb1e69
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.5
[email protected] - Product, Release Notes
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-m7jm-9gc2-mpf2
[email protected] - Exploit, Mitigation, Vendor Advisory
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:6174
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:6802
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:7110
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.