nday
CVE-2025-54988

Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA

Apache Software Foundation / Apache Tika PDF parser module

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: metasploit and nuclei. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XXE
CWE-611, stated by the CNA apache and NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA apache
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA apache
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA apache
Metasploit
Metasploit modules auxiliary/scanner/http/elasticsearch_tika_xfa_xxe
nuclei
nuclei templates CVE-2025-54988
stage
POC
disclosed
cvss
8.4 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-08-20T20:08Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit, nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA apache.

Event log

+DISdisclosed

CVE record published by apache. CVSS 8.4, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 58730,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-54988",
  "occurred_at": "2025-08-20T20:08:49.481Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.4,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-01-22T04:55:48.643142Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-08-20T20:08:49.481Z",
    "assigner_short_name": "apache"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/scanner/http/elasticsearch_tika_xfa_xxe (Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read). The source gives no release time for the module.

src metasploit auxiliary/scanner/http/elasticsearch_tika_xfa_xxe · nday , bulk import · raw
{
  "id": 49993,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/elasticsearch_tika_xfa_xxe.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/http/elasticsearch_tika_xfa_xxe",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/elasticsearch_tika_xfa_xxe.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/http/elasticsearch_tika_xfa_xxe.rb",
    "rank": 300,
    "check": true,
    "title": "Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read",
    "cve_ids": [
      "CVE-2025-54988",
      "CVE-2025-66516"
    ],
    "fullname": "auxiliary/scanner/http/elasticsearch_tika_xfa_xxe",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-09-08 21:22:11 +0000",
    "vuln_disclosure_date": "2025-08-20"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2025-54988 (Apache Tika - XXE Injection). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 56908,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54988.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2025-54988",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54988.yaml",
    "kind": "detection_template",
    "title": "Apache Tika - XXE Injection",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2025-54988",
    "template_path": "http/cves/2025/CVE-2025-54988.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.