Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI 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-20353

CVE-2021-20353: IBM WebSphere Application Server XXE Flaw

CVE-2021-20353 is an XML External Entity Injection vulnerability in IBM WebSphere Application Server that allows remote attackers to expose sensitive data or consume memory. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-20353 Overview

IBM WebSphere Application Server versions 7.0, 8.0, 8.5, and 9.0 contain an XML External Entity (XXE) Injection vulnerability that occurs when processing XML data. A remote attacker could exploit this vulnerability to expose sensitive information from the server or consume memory resources, potentially leading to denial of service conditions. This vulnerability was assigned IBM X-Force ID: 194882.

Critical Impact

Remote unauthenticated attackers can exploit this XXE vulnerability to read sensitive files from the server, access internal network resources, or cause denial of service through memory exhaustion.

Affected Products

  • IBM WebSphere Application Server 7.0
  • IBM WebSphere Application Server 8.0
  • IBM WebSphere Application Server 8.5
  • IBM WebSphere Application Server 9.0

Discovery Timeline

  • February 10, 2021 - CVE-2021-20353 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-20353

Vulnerability Analysis

This vulnerability is classified as CWE-611 (Improper Restriction of XML External Entity Reference). The IBM WebSphere Application Server fails to properly configure its XML parser to disable external entity processing, allowing attackers to inject malicious XML content that references external resources.

When the application processes XML input, the parser resolves external entity references without proper restrictions. This allows an attacker to craft malicious XML documents that can read local files from the server, perform server-side request forgery (SSRF) attacks against internal systems, or trigger denial of service conditions by referencing resources that consume excessive memory.

The attack can be performed remotely over the network without authentication, and the attacker does not require any special privileges or user interaction to exploit this vulnerability.

Root Cause

The root cause of this vulnerability lies in the insecure default configuration of the XML parser used by IBM WebSphere Application Server. The XML parser does not properly disable external entity processing, DTD processing, or external parameter entity expansion. When XML input is processed, these features allow the parser to fetch and process external resources, leading to information disclosure and resource consumption vulnerabilities.

Attack Vector

The attack is performed over the network against IBM WebSphere Application Server instances that accept and process XML input. An attacker can exploit this vulnerability by sending a specially crafted XML document containing malicious external entity definitions.

A typical XXE attack payload would include a Document Type Definition (DTD) that declares an external entity pointing to a sensitive file on the server (such as /etc/passwd on Linux systems or configuration files containing credentials). When the XML parser processes this document, it resolves the external entity and includes the contents of the referenced file in the response, effectively leaking sensitive information to the attacker.

For denial of service attacks, the attacker can reference resources that cause excessive memory consumption, such as the /dev/random device on Linux systems or recursive entity expansion (billion laughs attack).

Detection Methods for CVE-2021-20353

Indicators of Compromise

  • Unusual XML requests containing DTD declarations or external entity references in server logs
  • Attempts to access sensitive files like /etc/passwd, /etc/shadow, or application configuration files through XML parsing
  • HTTP requests with XML payloads containing suspicious keywords such as <!ENTITY, SYSTEM, or file:// protocols
  • Unexpected outbound network connections from the WebSphere server to external or internal resources

Detection Strategies

  • Monitor WebSphere Application Server logs for XML parsing errors or unusual file access attempts
  • Implement Web Application Firewall (WAF) rules to detect and block XXE attack patterns in incoming XML requests
  • Configure network intrusion detection systems (IDS) to alert on XML payloads containing external entity definitions
  • Review application logs for failed attempts to access system files or internal network resources

Monitoring Recommendations

  • Enable detailed logging for XML processing components within WebSphere Application Server
  • Monitor for abnormal memory consumption patterns that could indicate XXE-based denial of service attempts
  • Implement file integrity monitoring on sensitive configuration files and system resources
  • Configure alerts for unexpected outbound connections from application servers to internal network segments

How to Mitigate CVE-2021-20353

Immediate Actions Required

  • Apply the security patch provided by IBM immediately to all affected WebSphere Application Server installations
  • Review and audit all XML processing functionality within deployed applications
  • Implement network segmentation to limit the impact of potential SSRF attacks
  • Enable Web Application Firewall rules to filter malicious XML payloads

Patch Information

IBM has released security updates to address this vulnerability. Administrators should consult the IBM Support Document for detailed patching instructions and download links for their specific WebSphere Application Server version. Additional technical details are available in the IBM X-Force Vulnerability Database and the Zero Day Initiative Advisory ZDI-21-174.

Workarounds

  • Configure XML parsers to disable external entity processing, DTD processing, and external parameter entities where possible
  • Implement input validation to reject XML documents containing DTD declarations or external entity references
  • Use allowlisting for expected XML structures and reject any XML that deviates from the expected schema
  • Deploy a Web Application Firewall (WAF) with XXE attack detection capabilities as an interim protection measure
bash
# Example WebSphere XML parser hardening (consult IBM documentation for specific implementation)
# Disable external entity processing in XML parsers
# Set the following JVM system properties:
-Djavax.xml.accessExternalDTD=""
-Djavax.xml.accessExternalSchema=""
-Djavax.xml.accessExternalStylesheet=""

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechIbm Weblogic

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability1.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-611
  • Technical References
  • Zero Day Initiative Advisory ZDI-21-174
  • Vendor Resources
  • IBM X-Force Vulnerability #194882

  • IBM Support Document
  • Related CVEs
  • CVE-2023-38737: IBM WebSphere App Server DoS 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