GHSA-f58c-gq56-vjjf
Apache Tika has XXE vulnerability
Quick fix
GHSA-f58c-gq56-vjjf — org.apache.tika:tika-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.2.2</version> for org.apache.tika:tika-coreDetails
Critical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (1.13-1.28.5) modules on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF.
This CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways.
First, while the entrypoint for the vulnerability was the tika-parser-pdf-module as reported in CVE-2025-54988, the vulnerability and its fix were in tika-core. Users who upgraded the tika-parser-pdf-module but did not upgrade tika-core to >= 3.2.2 would still be vulnerable.
Second, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the "org.apache.tika:tika-parsers" module.
Are you affected?
Enter the version of the package you're using.
Affected packages
1.13Fixed in: 3.2.2# pom.xml: bump <version>3.2.2</version> for org.apache.tika:tika-core1.13Fixed in: 2.0.0# pom.xml: bump <version>2.0.0</version> for org.apache.tika:tika-parsers2.0.0Fixed in: 3.2.2# pom.xml: bump <version>3.2.2</version> for org.apache.tika:tika-parser-pdf-moduleReferences
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.apache.tika/tika-core"]}'