Wiz Agents & Workflows are here

CVE-2025-54988
Java vulnerability analysis and mitigation

Overview

A critical XML External Entity (XXE) injection vulnerability has been discovered in Apache Tika's PDF parser module (CVE-2025-54988). The vulnerability affects Apache Tika versions 1.13 through 3.2.1, specifically in the tika-parser-pdf-module component. The flaw allows attackers to perform XXE injection through crafted XFA files embedded within PDF documents. This vulnerability impacts multiple Tika packages including tika-parsers-standard-modules, tika-parsers-standard-package, tika-app, tika-grpc, and tika-server-standard (NVD, Security Online).

Technical details

The vulnerability stems from improper handling of XML Forms Architecture (XFA) data within PDF files processed by Apache Tika's PDF parser module. The issue has been assigned CWE-611 (Improper Restriction of XML External Entity Reference) and received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The root cause appears to be related to insecure default configurations in Java's XML parsing libraries, which require explicit security settings to prevent XXE attacks (Openwall).

Impact

When exploited, this vulnerability allows attackers to read sensitive files on the host system, perform server-side request forgery (SSRF) by sending malicious requests to internal resources, and potentially exfiltrate data to attacker-controlled servers. The widespread use of Apache Tika in applications such as search engine indexing, content analysis pipelines, automated translation systems, and enterprise document processing makes this vulnerability particularly concerning (Security Online).

Mitigation and workarounds

The Apache Tika team has released version 3.2.2 which includes security fixes for this vulnerability. Users are strongly advised to upgrade to this version immediately. The fix involves improving the configuration of XMLInputFactory by disabling DTD support and external entity resolution (GitHub Commit).

Community reactions

Security researchers, including Hanno Böck, have noted that this vulnerability highlights a broader issue with Java's standard library XML parsing defaults. They argue that the root cause lies in Java's insecure-by-default XML parsing configuration, contrasting with other XML libraries that have adopted safer defaults (Openwall).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34361CRITICAL9.3
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation
NoYesMar 30, 2026
CVE-2026-34214HIGH7.7
  • JavaJava
  • trino
NoYesMar 29, 2026
CVE-2026-34359HIGH7.4
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026
CVE-2026-34237MEDIUM6.1
  • JavaJava
  • io.modelcontextprotocol.sdk:mcp-core
NoYesMar 30, 2026
CVE-2026-34360MEDIUM5.8
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management