PoC Monitor
← All CVEs
CVE-2025-54988published 20 Aug 2025 20:08 UTCData: JSON · API

Apache Software Foundation Apache Tika PDF parser module

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

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.

First public PoC 14 daysafter publication · 4 Sep 2025
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-611
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Apache Software Foundation Apache Tika PDF parser module
  • >= 1.13, <= 3.2.1
org.apache.tika:tika-parser-pdf-module (Maven)
  • >= 1.13, < 3.2.2

Fixed in 3.2.2

from GitHub Security Advisory GHSA-p72g-pv48-7w9x

org.apache.tika:tika-parsers (Maven)
  • >= 1.13, < 2.0.0-ALPHA

Fixed in 2.0.0-ALPHA

from GitHub Security Advisory GHSA-p72g-pv48-7w9x

Mitigation

Upgrade org.apache.tika:tika-parser-pdf-module to 3.2.2 or later.

Upgrade org.apache.tika:tika-parsers to 2.0.0-ALPHA or later.

References

Timeline

Days relative to CVE publication
-3t=0+3+6+9+12+15CVE published20 Aug 2025 · t = 0First public PoC4 Sep 2025 · t+14d

First public PoC 14 days after publication; not in CISA KEV. First PoC: mgthuramoemyint/POC-CVE-2025-54988 (created 4 Sep 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
mgthuramoemyint/POC-CVE-2025-54988 4 Sep 2025 +14 d 20 PoC
galoryber/cve-2025-54988-VulnTikaProject 17 Dec 2025 +119 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/detect-type

Body markers
file=@testfile.pdf in multipart/form-data
Ports
8080
Seen in
1 repo: galoryber/cve-2025-54988-VulnTikaProject
Evidence
galoryber/cve-2025-54988-VulnTikaProject/README.md:17

POST /api/extract-pdf

Body markers
file=@testfile.pdf in multipart/form-data
Ports
8080
Seen in
1 repo: galoryber/cve-2025-54988-VulnTikaProject
Evidence
galoryber/cve-2025-54988-VulnTikaProject/README.md:19

POST /api/extract-text

Body markers
file=@testfile.pdf in multipart/form-data
Ports
8080
Seen in
1 repo: galoryber/cve-2025-54988-VulnTikaProject
Evidence
galoryber/cve-2025-54988-VulnTikaProject/README.md:15

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/version
(?i)^/api/version(?:[?#].*)?$
POST /api/detect-type
(?i)^/api/detect-type(?:[?#].*)?$
POST /api/extract-pdf
(?i)^/api/extract-pdf(?:[?#].*)?$
POST /api/extract-text
(?i)^/api/extract-text(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/version
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-54988 Apache Software Foundation Apache Tika PDF parser module exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/version"; reference:url,poc.griffinguard.io/cve/CVE-2025-54988; classtype:web-application-attack; sid:9341596; rev:1;)
POST /api/detect-type
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-54988 Apache Software Foundation Apache Tika PDF parser module exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/detect-type"; http.request_body; content:"file=@testfile.pdf"; reference:url,poc.griffinguard.io/cve/CVE-2025-54988; classtype:web-application-attack; sid:9188644; rev:1;)
POST /api/extract-pdf
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-54988 Apache Software Foundation Apache Tika PDF parser module exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/extract-pdf"; http.request_body; content:"file=@testfile.pdf"; reference:url,poc.griffinguard.io/cve/CVE-2025-54988; classtype:web-application-attack; sid:9194120; rev:1;)
POST /api/extract-text
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-54988 Apache Software Foundation Apache Tika PDF parser module exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/extract-text"; http.request_body; content:"file=@testfile.pdf"; reference:url,poc.griffinguard.io/cve/CVE-2025-54988; classtype:web-application-attack; sid:9448929; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/version
title: Apache Software Foundation Apache Tika PDF parser module exploit attempt (CVE-2025-54988)
id: gg-pocmon-cve-2025-54988-9341596
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54988. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54988
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/version'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54988
POST /api/detect-type
title: Apache Software Foundation Apache Tika PDF parser module exploit attempt (CVE-2025-54988)
id: gg-pocmon-cve-2025-54988-9188644
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54988. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54988
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/detect-type'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54988
POST /api/extract-pdf
title: Apache Software Foundation Apache Tika PDF parser module exploit attempt (CVE-2025-54988)
id: gg-pocmon-cve-2025-54988-9194120
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54988. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54988
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/extract-pdf'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54988
POST /api/extract-text
title: Apache Software Foundation Apache Tika PDF parser module exploit attempt (CVE-2025-54988)
id: gg-pocmon-cve-2025-54988-9448929
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-54988. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-54988
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/extract-text'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.54988