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-2025-54988

CVE-2025-54988: Apache Tika XXE Vulnerability

CVE-2025-54988 is an XXE vulnerability in Apache Tika that allows attackers to inject XML External Entities via crafted XFA files in PDFs, potentially exposing sensitive data. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2025-54988 Overview

CVE-2025-54988 is an XML External Entity (XXE) injection vulnerability affecting Apache Tika versions 1.13 through 3.2.1. The vulnerability exists within the tika-parser-pdf-module component, which is responsible for parsing PDF documents. An attacker can exploit this flaw by crafting a malicious XFA (XML Forms Architecture) file embedded within a PDF document. When Apache Tika processes this crafted PDF, the underlying XML parser processes external entity references, potentially allowing the attacker to read sensitive data from the server or trigger malicious requests to internal resources or third-party servers.

The tika-parser-pdf-module is used as a dependency across several Apache Tika packages, significantly expanding the attack surface. Affected packages include tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc, and tika-server-standard.

Critical Impact

This XXE vulnerability allows attackers to exfiltrate sensitive data, perform server-side request forgery (SSRF) attacks against internal infrastructure, and potentially cause denial of service through resource exhaustion.

Affected Products

  • Apache Tika versions 1.13 through 3.2.1
  • tika-parser-pdf-module (all affected versions)
  • tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc, tika-server-standard (dependent packages)

Discovery Timeline

  • 2025-08-20 - CVE-2025-54988 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-54988

Vulnerability Analysis

This vulnerability is classified under CWE-611 (Improper Restriction of XML External Entity Reference). The root issue lies in the PDF parsing functionality within Apache Tika, specifically when handling XFA forms embedded in PDF documents. XFA (XML Forms Architecture) is an XML-based specification that allows forms to be embedded within PDF files. When Apache Tika encounters a PDF containing XFA content, the XML parser processes the embedded XML data without properly restricting external entity resolution.

The exploitation mechanism requires local access to supply a crafted PDF file to the Apache Tika parser. Once the malicious PDF is processed, the XXE payload within the XFA section is executed by the XML parser. This can result in the disclosure of local file contents, internal network reconnaissance through SSRF, or resource exhaustion attacks.

Root Cause

The vulnerability stems from insecure XML parser configuration within the tika-parser-pdf-module. When parsing XFA content from PDF documents, the XML processor does not properly disable external entity processing. This allows attackers to define malicious external entities within the XFA XML that reference local files, internal URLs, or external servers. The parser resolves these entity references during document processing, leading to information disclosure or SSRF conditions.

Attack Vector

The attack requires an attacker to craft a malicious PDF document containing an XFA form with embedded XXE payloads. The attacker then needs to deliver this PDF to a system running a vulnerable version of Apache Tika for processing. This could occur through various scenarios:

  1. Uploading a malicious PDF to a web application that uses Apache Tika for document indexing or content extraction
  2. Sending a malicious PDF via email to systems with automated document processing
  3. Placing a malicious PDF in a directory monitored by Apache Tika for batch processing

The XXE payload within the XFA section can be configured to read sensitive files such as /etc/passwd, configuration files containing credentials, or to probe internal network services through SSRF requests. The attacker receives the extracted data through out-of-band channels or by observing error messages if the application exposes parsing errors.

Detection Methods for CVE-2025-54988

Indicators of Compromise

  • Unusual outbound network connections from systems running Apache Tika to external servers
  • Log entries showing attempts to access sensitive local files during PDF processing
  • PDF files containing suspicious XFA sections with external entity declarations
  • Error messages indicating XML parsing failures related to external entity resolution

Detection Strategies

  • Monitor Apache Tika processing logs for XML parsing errors or external entity warnings
  • Implement network monitoring to detect unexpected outbound connections from document processing services
  • Deploy file integrity monitoring on sensitive configuration files that could be targeted by XXE attacks
  • Scan uploaded PDF files for suspicious XFA content before processing with Apache Tika

Monitoring Recommendations

  • Configure SIEM rules to alert on suspicious file access patterns from Apache Tika processes
  • Implement egress filtering to restrict outbound connections from document processing servers
  • Enable verbose logging on Apache Tika instances to capture detailed parsing events
  • Monitor for DNS queries to unusual domains originating from document processing infrastructure

How to Mitigate CVE-2025-54988

Immediate Actions Required

  • Upgrade Apache Tika to version 3.2.2 or later immediately
  • Review all applications and services that depend on Apache Tika for PDF processing
  • Audit systems for signs of exploitation by reviewing access logs and network traffic
  • Restrict network access for systems running vulnerable Apache Tika versions until patched

Patch Information

Apache has released version 3.2.2 to address this vulnerability. Users should upgrade to this version or later to remediate the XXE vulnerability in the tika-parser-pdf-module. For detailed information, refer to the Apache Mailing List Discussion. Additional security advisories are available from OpenWall OSS Security and Debian has released guidance in their Debian LTS Announcement.

Workarounds

  • Configure XML parsers to disable external entity processing if application code allows
  • Implement input validation to reject PDF files containing XFA forms from untrusted sources
  • Deploy network segmentation to isolate document processing systems from sensitive internal resources
  • Use a web application firewall to inspect and block suspicious PDF uploads
bash
# Example Maven dependency update for Apache Tika
# Update pom.xml to use the fixed version
# <dependency>
#     <groupId>org.apache.tika</groupId>
#     <artifactId>tika-parser-pdf-module</artifactId>
#     <version>3.2.2</version>
# </dependency>

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechApache Tika

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-611
  • Technical References
  • OpenWall OSS Security Update #2

  • OpenWall OSS Security Update #3

  • Debian LTS Announcement
  • Vendor Resources
  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2025-66516: Apache Tika XXE Vulnerability

  • CVE-2022-33879: Apache Tika DOS Vulnerability

  • CVE-2022-30973: Apache Tika Denial of Service Vulnerability

  • CVE-2022-30126: Apache Tika DOS Vulnerability
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