CVE intelligence and bounded remediation

CVE-2025-54988 — Apache Tika security vulnerability

Critical CVSS 9.8

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.

Severity
Critical
CVSS
9.8 (3.1)
Published
2025-08-20
CISA KEV
Not currently listed
Ecosystem
software/application
Weaknesses
CWE-611

Affected products

  • apache / tika

Matched remediation archetype

XML external entity and unsafe XML processing

This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.

Check exposure

  • Inventory XML parsers used by APIs, file imports, office or image formats, identity protocols, feeds, and background jobs.
  • Determine whether document type declarations, external entities, XInclude, schemas, or network resolvers are enabled.
  • Map parser filesystem and network access and the sensitivity of documents it processes.

Remediate safely

  • Configure each parser to reject document type declarations and disable external entity, XInclude, and network resolution features.
  • Prefer a data format or hardened parser that does not support external resolution, and apply input size and depth limits.
  • Update affected XML libraries and centralize secure parser construction so callers cannot silently override it.

Authoritative sources

Complete CVE record and remediation plan

The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.