GHSA-p72g-pv48-7w9x

Apache Tika XXE Vulnerability via Crafted XFA File Inside a PDF

At a glance

Published
Updated
CVE
CVE-2025-54988
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

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.

Affected packages

PackageVersions
Maven · org.apache.tika:tika-parser-pdf-moduleintroduced 1.13, fixed 3.2.2
Maven · org.apache.tika:tika-parsersintroduced 1.13, fixed 2.0.0-ALPHA

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database