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
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2021-23926

CVE-2021-23926: Apache XMLBeans XXE Vulnerability

CVE-2021-23926 is an XML External Entity vulnerability in Apache XMLBeans that allows attackers to exploit XML parsers through malicious input. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 25, 2026

CVE-2021-23926 Overview

CVE-2021-23926 is a critical XML External Entity (XXE) vulnerability affecting Apache XMLBeans up to and including version 2.6.0. The XML parsers used by XMLBeans did not set the properties needed to protect users from malicious XML input, creating possibilities for XML Entity Expansion attacks. This vulnerability allows remote attackers to cause information disclosure and denial of service conditions through specially crafted XML documents.

Critical Impact

Remote attackers can exploit improper XML parser configuration to perform XML Entity Expansion attacks, potentially leading to sensitive data exposure and service disruption across enterprise applications using XMLBeans.

Affected Products

  • Apache XMLBeans (up to and including version 2.6.0)
  • NetApp OnCommand Unified Manager Core Package
  • NetApp Snap Creator Framework
  • NetApp SnapManager (Oracle and SAP editions)
  • Debian Linux 9.0
  • Oracle Middleware Common Libraries and Tools (versions 12.2.1.3.0 and 12.2.1.4.0)
  • Oracle PeopleSoft Enterprise PeopleTools (versions 8.57, 8.58, and 8.59)

Discovery Timeline

  • January 14, 2021 - CVE-2021-23926 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-23926

Vulnerability Analysis

This vulnerability stems from improper configuration of XML parsers within Apache XMLBeans. The library failed to implement secure parser defaults, leaving applications vulnerable to XML Entity Expansion (XEE) attacks, also known as "Billion Laughs" attacks or XML bombs. When processing untrusted XML input, the parser would expand malicious entity definitions recursively, consuming excessive memory and CPU resources.

The vulnerability is classified under CWE-776 (Improper Restriction of Recursive Entity References in DTDs), which specifically addresses scenarios where XML parsers do not properly limit the expansion of recursive entity references. This can result in both information disclosure through external entity injection and denial of service through resource exhaustion.

Root Cause

The root cause of CVE-2021-23926 lies in the XMLBeans library's failure to configure secure XML parser properties by default. Specifically, the XML parsers were instantiated without disabling external entity processing or limiting entity expansion. The missing security configurations include properties such as XMLConstants.FEATURE_SECURE_PROCESSING, disallow-doctype-decl, and restrictions on external general and parameter entities.

Without these protective measures, the parser would blindly process and expand any DTD declarations and entity references present in the XML input, regardless of their origin or potential impact on system resources.

Attack Vector

The attack vector for CVE-2021-23926 is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by submitting maliciously crafted XML documents to any application endpoint that processes XML using a vulnerable version of XMLBeans.

In an XML Entity Expansion attack scenario, the attacker defines nested entity references within the XML document's DTD. When parsed, each entity expands to reference other entities, creating exponential growth in the parsed content. A small malicious payload of just a few kilobytes can expand to gigabytes of data in memory, exhausting server resources and causing denial of service.

For external entity injection attacks, the attacker can define entities that reference external resources such as local files (file://) or internal network endpoints, potentially exposing sensitive configuration files, credentials, or enabling server-side request forgery.

Detection Methods for CVE-2021-23926

Indicators of Compromise

  • Unusual memory consumption spikes in applications processing XML data
  • Application crashes or OutOfMemoryError exceptions in Java-based systems using XMLBeans
  • Server logs showing excessive XML parsing times or parser-related exceptions
  • Network traffic containing XML documents with suspicious DTD declarations or nested entity definitions

Detection Strategies

  • Implement application-level monitoring for XMLBeans library usage and version detection
  • Deploy Web Application Firewall (WAF) rules to inspect incoming XML payloads for malicious DTD declarations
  • Monitor Java application logs for javax.xml.parsers exceptions and entity expansion warnings
  • Use software composition analysis (SCA) tools to identify vulnerable XMLBeans dependencies in your codebase

Monitoring Recommendations

  • Enable detailed logging for XML parsing operations in production applications
  • Set up alerting for abnormal memory usage patterns in services that process XML input
  • Monitor dependency management systems for outdated XMLBeans versions across your software portfolio
  • Track external references from the Apache XMLBeans Issue XMLBEANS-517 for ongoing security updates

How to Mitigate CVE-2021-23926

Immediate Actions Required

  • Upgrade Apache XMLBeans to version 3.0.0 or later, which includes secure parser defaults
  • Audit all applications and dependencies that utilize XMLBeans for vulnerable versions
  • Implement input validation to reject XML documents containing DTD declarations from untrusted sources
  • Apply vendor-specific patches from Oracle, NetApp, and Debian as applicable to your environment

Patch Information

Apache has addressed this vulnerability in XMLBeans version 3.0.0 and later releases. The fix ensures that XML parsers are configured with secure processing features enabled by default, preventing entity expansion attacks. Organizations using affected products should consult the following vendor advisories for specific patch guidance:

  • Apache XMLBeans Issue XMLBEANS-517 for core XMLBeans updates
  • Oracle Security Alert CPUOctober2021 for Oracle product patches
  • Oracle Security Alert CPUJuly2022 for additional Oracle updates
  • NetApp Security Advisory NTAP-20210513-0004 for NetApp product guidance
  • Debian LTS Security Announcement for Debian-specific packages

Workarounds

  • Configure XML parsers manually to disable external entity processing if immediate upgrade is not possible
  • Implement a custom DocumentBuilderFactory or SAXParserFactory with secure processing features enabled
  • Deploy network-level controls to filter XML payloads containing DTD declarations at the perimeter
  • Consider using alternative XML processing libraries that implement secure defaults until XMLBeans can be upgraded
bash
# Maven dependency update example
# Update pom.xml to use patched XMLBeans version
# Replace vulnerable version with:
# <dependency>
#     <groupId>org.apache.xmlbeans</groupId>
#     <artifactId>xmlbeans</artifactId>
#     <version>5.1.1</version>
# </dependency>

# Verify current XMLBeans version in your project
mvn dependency:tree | grep xmlbeans

# Force update to secure version
mvn versions:use-latest-versions -Dincludes=org.apache.xmlbeans:xmlbeans

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechApache Xmlbeans

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-776
  • Technical References
  • Apache Axis Developer Thread

  • Apache Axis Developer Thread

  • Debian LTS Security Announcement

  • NetApp Security Advisory NTAP-20210513-0004
  • Vendor Resources
  • Apache XMLBeans Issue XMLBEANS-517

  • Apache POI Project Website

  • Oracle Security Alert CPUJuly2022

  • Oracle Security Alert CPUOctober2021
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | 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