CVE-2026-25128CWE-20CWE-248

fast-xml-parser has RangeError DoS Numeric Entities Bug

High · published January 30, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
49.1
In the wild
Unconfirmed
What it is

⚡ An out-of-range entity in XML could crash your application without a safety net! Welcome to the range error rodeo with fast-xml-parser versions 5.0.9 to 5.3.3! 🤠 Think of this vulnerability like a restaurant accepting an outrageous order, like a million-dollar steak. When the kitchen tries to process it, chaos ensues! The same goes for the parser when it encounters out-of-range entity codes—it just can't handle it. An attacker could send malformed XML to your application, triggering an uncaught exception that leads to a complete crash. This means users could be locked out or your application could simply stop working, which is absolutely devastating for user experience!

Put simply

Think of this vulnerability like a restaurant accepting an outrageous order, like a million-dollar steak. When the kitchen tries to process it, chaos ensues! The same goes for the parser when it encounters out-of-range entity codes—it just can't handle it. The RangeError vulnerability occurs in fast-xml-parser when it processes numeric entity codes that exceed valid limits, causing the parser to throw an uncaught exception. This issue affects versions 5.0.9 to 5.3.3 and has been resolved in version 5.3.4.

What to do

An attacker could send malformed XML to your application, triggering an uncaught exception that leads to a complete crash. This means users could be locked out or your application could simply stop working, which is absolutely devastating for user experience! Upgrade fast-xml-parser to version 5.3.4 immediately to patch this vulnerability. Additionally, review your XML input handling to ensure only trusted data is processed. Don't forget to test your applications to ensure everything runs smoothly after the update! You've got this! 🦸 Follow these steps, and your application will be back on track in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00621 · 49.1th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-248 · Uncaught Exception
Published
2026-01-30T15:14Z
EPSS history
Timeline
  • 30 JAN 15:14Z
    fast-xml-parser has RangeError DoS Numeric Entities Bug
    cvelistv5