The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25128

CVE-2026-25128: fast-xml-parser DoS Vulnerability

CVE-2026-25128 is a denial of service flaw in fast-xml-parser caused by improper handling of out-of-range numeric entities, leading to application crashes. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2026-25128 Overview

CVE-2026-25128 is a Denial of Service vulnerability affecting fast-xml-parser, a popular JavaScript library that enables users to validate XML, parse XML to JavaScript objects, or build XML from JavaScript objects without C/C++ based libraries. A RangeError vulnerability exists in the numeric entity processing functionality when parsing XML containing 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.

Critical Impact

Applications processing untrusted XML input are vulnerable to complete denial of service through crafted XML payloads containing out-of-range numeric entities. Attackers can remotely crash affected services without authentication.

Affected Products

  • fast-xml-parser versions 4.3.6 through 5.3.3
  • Node.js applications using vulnerable fast-xml-parser versions
  • Web services and APIs that parse untrusted XML using fast-xml-parser

Discovery Timeline

  • 2026-01-30 - CVE-2026-25128 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2026-25128

Vulnerability Analysis

This vulnerability is classified under CWE-20 (Improper Input Validation). The flaw exists in how fast-xml-parser handles numeric character references (HTML entities) during XML parsing. When the parser encounters numeric entities with code point values that exceed the valid Unicode range (0x0 to 0x10FFFF), the String.fromCodePoint() method throws a RangeError exception. Since this exception is not caught by the parser, it propagates up the call stack and crashes the entire Node.js application.

The vulnerability affects both decimal (&#decimal;) and hexadecimal (&#xhex;) numeric entity formats. An attacker can exploit this by submitting XML containing specially crafted numeric entities such as � (decimal) or � (hexadecimal), both of which exceed the maximum valid Unicode code point.

Root Cause

The root cause lies in the OrderedObjParser.js module where numeric entities are processed. The vulnerable code directly calls String.fromCodePoint() on parsed numeric values without first validating that the values fall within the acceptable Unicode code point range (0 to 1,114,111 or 0x10FFFF). The String.fromCodePoint() function throws a RangeError for invalid code points, and this exception was not being handled, resulting in application termination.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can send malicious XML payloads to any endpoint that uses fast-xml-parser to process XML input. This makes web APIs, SOAP services, and any XML-processing microservices particularly vulnerable. The attack complexity is low as it only requires crafting an XML document with an out-of-range numeric entity.

javascript
// Vulnerable code in src/xmlparser/OrderedObjParser.js (before patch)
       "copyright" : { regex: /&(copy|#169);/g, val: "©" },
       "reg" : { regex: /&(reg|#174);/g, val: "®" },
       "inr" : { regex: /&(inr|#8377);/g, val: "₹" },
-      "num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => String.fromCodePoint(Number.parseInt(str, 10)) },
-      "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => String.fromCodePoint(Number.parseInt(str, 16)) },
+      "num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => fromCodePoint(str, 10, "&#") },
+      "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => fromCodePoint(str, 16, "&#x") },
     };
     this.addExternalEntities = addExternalEntities;
     this.parseXml = parseXml;

Source: GitHub Commit Update

Detection Methods for CVE-2026-25128

Indicators of Compromise

  • Unexpected application crashes or service restarts in Node.js applications processing XML
  • Error logs containing RangeError: Invalid code point exceptions originating from fast-xml-parser
  • Incoming XML payloads containing numeric entities with unusually large values (e.g., �, �)
  • Increased rate of HTTP 500 errors on XML-processing endpoints

Detection Strategies

  • Monitor application logs for uncaught RangeError exceptions with stack traces pointing to fast-xml-parser modules
  • Implement Web Application Firewall (WAF) rules to detect XML payloads containing numeric entities with more than 6 hexadecimal or 7 decimal digits
  • Use dependency scanning tools to identify applications using fast-xml-parser versions 4.3.6 through 5.3.3
  • Deploy application performance monitoring (APM) to detect sudden process terminations in XML-processing services

Monitoring Recommendations

  • Enable process crash monitoring for all Node.js services that handle XML input
  • Set up alerts for repeated service restarts within short time windows
  • Monitor for patterns of malformed XML requests targeting API endpoints
  • Review and audit all dependencies using npm audit or similar tools regularly

How to Mitigate CVE-2026-25128

Immediate Actions Required

  • Upgrade fast-xml-parser to version 5.3.4 or later immediately
  • Audit all Node.js applications to identify usage of vulnerable fast-xml-parser versions
  • Implement input validation on XML payloads before passing them to the parser
  • Deploy WAF rules to block XML payloads with suspicious numeric entity patterns

Patch Information

The vulnerability has been fixed in fast-xml-parser version 5.3.4. The patch introduces a new fromCodePoint() helper function that validates numeric entity values before calling String.fromCodePoint(), gracefully handling out-of-range values instead of throwing uncaught exceptions. The fix is available via the GitHub Release v5.3.4. Additional details can be found in the GitHub Security Advisory GHSA-37qj-frw5-hhjh.

Workarounds

  • Wrap fast-xml-parser calls in try-catch blocks to prevent application crashes from propagating
  • Implement pre-processing validation to reject XML containing numeric entities with values exceeding 0x10FFFF
  • Use process managers like PM2 with automatic restart capabilities to minimize service disruption
  • Consider rate limiting on XML-processing endpoints to reduce the impact of exploitation attempts
bash
# Update fast-xml-parser to patched version
npm update fast-xml-parser@5.3.4

# Verify installed version
npm list fast-xml-parser

# Run security audit to check for remaining vulnerabilities
npm audit

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFast Xml Parser

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Commit Update

  • GitHub Release v5.3.4

  • GitHub Security Advisory GHSA-37qj-frw5-hhjh
  • Related CVEs
  • CVE-2026-26278: fast-xml-parser DoS Vulnerability

  • CVE-2024-41818: Fast-xml-parser DoS Vulnerability

  • CVE-2023-34104: Fast-xml-parser DoS Vulnerability

  • CVE-2026-27942: fast-xml-parser Buffer Overflow Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English