NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-54988: Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF

criticalCVSS 4.0 9.3 · 3.1 9.8GHSA-p72g-pv48-7w9x

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.

Published Aug 20, 2025 · Updated Nov 5, 2025

Affected packages

org.apache.tika:tika-parser-pdf-module

Ecosystem
Maven
Affected
>= 1.13, < 3.2.2
Fixed in
3.2.2
Check
mvn dependency:tree -Dincludes=org.apache.tika:tika-parser-pdf-module

org.apache.tika:tika-parsers

Ecosystem
Maven
Affected
>= 1.13, < 2.0.0-ALPHA
Fixed in
2.0.0-ALPHA
Check
mvn dependency:tree -Dincludes=org.apache.tika:tika-parsers

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to vlsi.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries