Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-54988US | — | 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… | ||||
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2025/08/20/2WEB
- http://www.openwall.com/lists/oss-security/2025/08/20/3WEB
- https://archive.apache.org/dist/tika/3.2.2/CHANGES-3.2.2.txtWEB
- https://github.com/apache/tikaPACKAGE
- https://github.com/apache/tika/commit/2b52257304f4d3cde2b8463657380bdb936d9ef2WEB
- https://github.com/apache/tika/pull/2291WEB
- https://issues.apache.org/jira/browse/TIKA-4459WEB
- https://lists.apache.org/thread/8xn3rqy6kz5b3l1t83kcofkw0w4mmj1wWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan