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 5.0.9 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

Machine-generated threat intelligence

AILast updated: 02/12/2026, 06:49:57 UTC

Technical Analysis

The fast-xml-parser library by NaturalIntelligence is widely used for XML parsing and validation in JavaScript environments without relying on native C/C++ libraries. Versions 5.0.9 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 XML numeric entities with code points outside the valid Unicode range (e.g., � or �), it triggers a RangeError exception that is not properly caught. This causes the parser—and consequently the host application—to crash. Since the parser is often used in server-side or client-side applications processing untrusted XML input, this can be exploited remotely to cause denial of service (DoS). The vulnerability does not allow code execution or data leakage but disrupts service availability. The issue was addressed in version 5.3.4 by adding proper input validation and exception handling to prevent crashes. No known exploits are currently in the wild, but the low complexity and lack of required privileges make this a significant risk. The CVSS v3.1 score of 7.5 reflects a network attack vector, low attack complexity, no privileges or user interaction needed, and an impact limited to availability.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to service availability. Applications that rely on fast-xml-parser for XML processing—such as web services, APIs, or middleware—may be crashed by maliciously crafted XML payloads, resulting in denial of service. This can disrupt business operations, degrade user experience, and potentially cause cascading failures in dependent systems. Industries with heavy XML usage, including finance, telecommunications, and government services, may face operational interruptions. Additionally, organizations using this library in cloud-native or microservices architectures could see amplified impact due to automated scaling or orchestration reacting to crashes. While no data confidentiality or integrity compromise is indicated, the availability impact can lead to reputational damage and financial loss. The absence of known exploits provides a window for proactive patching, but the ease of exploitation means attackers could develop exploits rapidly.

Mitigation Recommendations

European organizations should immediately identify all instances of fast-xml-parser versions 5.0.9 through 5.3.3 in their software environments, including direct dependencies and transitive dependencies in their JavaScript projects. The primary mitigation is to upgrade to version 5.3.4 or later, where the vulnerability is fixed. For environments where immediate upgrade is not feasible, implement input validation and sanitization at the application boundary to reject XML inputs containing out-of-range numeric entities. Employ runtime exception handling to gracefully manage parser errors and prevent application crashes. Additionally, deploy Web Application Firewalls (WAFs) or XML gateways configured to detect and block malformed XML payloads. Monitor application logs for unexpected parser exceptions and crashes to detect potential exploitation attempts. Incorporate this vulnerability into vulnerability management and patching workflows to ensure timely updates. Finally, conduct security testing on XML processing components to verify resilience against malformed inputs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 2/12/2026, 6:49:57 AM

Last updated: 3/25/2026, 2:43:37 PM

Views: 146

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 for AI refresh and higher limits.

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

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses