S4E just found a medium [ai] private ip disclosure detection scanner
critical·Product Based Web Vulnerabilities·Updated Jul 30, 2026

CVE-2025-54988 Scanner

CVE-2025-54988 Scanner - XML External Entity (XXE) Injection vulnerability in Apache Tika

Est. Time~1 minutes
Scan TypeGroup Scan
Targetsurl
CostFree
3.4k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-54988
8.4
CVSShigh
Requires local system access · no authentication required.

Critical XXE in Apache Tika (tika-parser-pdf-module) in Apache Tika 1.13 through and including 3.2.1 on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. An attacker may be able to read sensitive data or trigger malicious requests to internal resources or third-party servers. Note that the tika-parser-pdf-module is used as a dependency in several Tika packages including at least: tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc and tika-server-standard. Users are recommended to upgrade to version 3.2.2, which fixes this issue.

Attack Vector
Local
Privileges Req.
None
User Interaction
None
Affected
Apache Tika PDF parser moduleby Apache Software Foundation
1.13
Updated Aug 22, 2026View on NVD →
Detail

Apache Tika, an open-source project, is a content analysis toolkit widely used for document and multimedia type detection and content extraction. It is employed by data processing workflows in various organizations, including government agencies, educational institutions, and enterprises. Tika offers a rich interface that provides easy integration with other software and uses an extensive library of parsers. By interpreting different file formats, Tika has become essential in enabling applications to understand content beyond textual data. It is a powerful tool for indexing search engines and supporting document classifiers by extracting valuable metadata and text. Apache Tika's versatility enables it to aggregate, classify, and index data effectively.

An XML External Entity (XXE) Injection vulnerability occurs when an application processes XML input containing a reference to an external entity, which is parsed and evaluated. This vulnerability can lead to exposure of sensitive information, cause denial-of-service attacks, or allow SSRF exploitation. In Apache Tika, this XXE vulnerability arises when parsing malicious XFA in PDF files, whereby the parser might access local files or resources. An attacker can craft specific files to include external entities that point to internal files or services. When these files are processed by Tika, the application inadvertently carries out unauthorized actions defined by the attacker. Recognizing this vulnerability aids in preventing the exploitation of sensitive server data.

The technical aspect of this XXE vulnerability in Apache Tika involves the processing of PDF files with malicious XML Form Architecture (XFA) content. Attackers exploit the parser's handling of XFA to include references to external entities. The problematic endpoint is the PDF parser that interprets XFA data, located at paths such as '{{BaseURL}}/tika'. When Apache Tika processes these files, the system resolves the external entities, leading to potential vulnerabilities like arbitrary file read or SSRF. The header configurations like 'Accept: text/plain' and 'Content-Type: application/pdf' coupled with the body content are crucial in ensuring valid exploits. The service may unintentionally allow attackers to retrieve sensitive information or interact with unintended network resources.

Exploiting the XXE vulnerability in Apache Tika can lead to serious ramifications. An attacker can perform unauthorized file reads from the server, potentially accessing credentials, configurations, or other sensitive data. There is also the potential for Server-Side Request Forgery (SSRF), where attackers send requests from the server to another location, bypassing network restrictions. This could result in unauthorized network scanning or pivoting to more secure areas within the infrastructure. The information disclosure resulting from this vulnerability can compromise the confidentiality of the organization's data. Furthermore, it can serve as a stepping stone to other attack vectors within the network.

REFERENCES

Solution Advice
  • Upgrade Apache Tika to version 3.2.2 or later to mitigate the XXE vulnerability.
  • Apply strict input validation to minimize risks from malformed XML or PDF files.
  • Implement monitoring tools to detect and log unusual activity or access attempts.
  • Configure XML parsers to safely handle XML entities by disabling external entity processing.
  • Review and update security configuration settings regularly to adhere to best practices.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2025-54988 Scanner - XML External Entity (XXE) Injection vulnerability in Apache Tika S4E