PatchSiren

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

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.