Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25128: CWE-20: Improper Input Validation in NaturalIntelligence fast-xml-parser

0
High
VulnerabilityCVE-2026-25128cvecve-2026-25128cwe-20cwe-248
Published: Fri Jan 30 2026 (01/30/2026, 15:14:58 UTC)
Source: CVE Database V5
Vendor/Project: NaturalIntelligence
Product: fast-xml-parser

Description

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. In versions 4.3.6 through 5.3.3, a RangeError vulnerability exists in the numeric entity processing of fast-xml-parser when parsing XML with out-of-range entity code points (e.g., `�` or `�`). This causes the parser to throw an uncaught exception, crashing any application that processes untrusted XML input. Version 5.3.4 fixes the issue.

AI-Powered Analysis

AILast updated: 01/30/2026, 15:42:09 UTC

Technical Analysis

The fast-xml-parser library by NaturalIntelligence is a popular JavaScript tool for validating, parsing, and building XML without relying on native C/C++ libraries or callbacks. Versions 4.3.6 through 5.3.3 contain a vulnerability (CVE-2026-25128) stemming from improper input validation (CWE-20) during numeric entity processing. Specifically, when the parser encounters numeric XML entities with code points outside the valid Unicode range (e.g., � or �), it triggers a RangeError exception that is not caught within the library. This uncaught exception causes the entire application using the parser to crash, resulting in a denial of service (DoS) condition. The vulnerability does not expose sensitive data or allow code execution but disrupts service availability. The CVSS v3.1 score is 7.5 (high), reflecting network attack vector, no privileges or user interaction required, and high impact on availability. No known exploits are currently reported in the wild. The issue was publicly disclosed on January 30, 2026, and fixed in version 5.3.4 of fast-xml-parser. Organizations relying on this library for XML processing, especially those handling untrusted XML input, are at risk of service disruption if they use affected versions.

Potential Impact

For European organizations, the primary impact is denial of service due to application crashes when processing maliciously crafted XML input containing out-of-range numeric entities. This can affect web services, APIs, or backend systems that parse XML data using fast-xml-parser, leading to downtime, degraded service availability, and potential operational disruption. Although confidentiality and integrity are not directly compromised, the availability impact can affect business continuity, customer trust, and compliance with service-level agreements. Industries relying heavily on XML for data interchange, such as finance, telecommunications, and government services, may experience significant operational risks. Additionally, automated systems that consume XML feeds could be disrupted, causing cascading failures. The lack of required authentication or user interaction for exploitation increases the risk surface, especially for externally facing services.

Mitigation Recommendations

1. Upgrade fast-xml-parser to version 5.3.4 or later immediately to apply the official fix. 2. Implement strict input validation and sanitization on all XML inputs before parsing, rejecting or sanitizing numeric entities outside valid Unicode ranges. 3. Employ runtime exception handling around XML parsing calls to gracefully handle unexpected errors and prevent application crashes. 4. Use application-layer firewalls or XML gateways to detect and block malformed XML payloads containing suspicious numeric entities. 5. Monitor application logs for frequent parser exceptions or crashes indicative of exploitation attempts. 6. Conduct security testing and fuzzing on XML processing components to identify similar input validation weaknesses. 7. Educate developers on secure XML parsing practices and the risks of untrusted input. 8. For critical systems, consider implementing redundancy and failover mechanisms to maintain availability during attacks.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-29T14:03:42.540Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 697ccdf4ac06320222611087

Added to database: 1/30/2026, 3:27:48 PM

Last enriched: 1/30/2026, 3:42:09 PM

Last updated: 1/30/2026, 4:41:05 PM

Views: 89

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats