8.4 CVE-2025-54988

Exploit
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2025-54988

Categories

CWE-611 : Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. An acronym used for the term "XML eXternal Entities" Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Many XML parsers and validators can be configured to disable external entity expansion. Recruiter software allows reading arbitrary files using XXE A browser control can allow remote attackers to determine the existence of files via Javascript containing XML script. XXE during SVG image conversion XXE in PHP application allows reading the application's configuration file. XXE in database server XXE in rapid web application development framework allows reading arbitrary files. XXE via XML-RPC request. XXE in office document product using RDF. XXE in web-based administration tool for database. XXE in product that performs large-scale data analysis. XXE in XSL stylesheet functionality in a common library used by some web browsers.

References


 

CPE

cpe start end
Configuration 1
cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:* >= 1.13 < 3.2.2


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
https://github.com/mgthuramoemyint/POC-CVE-2025-54988

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
221 Data Serialization External Entities Blowup