CVE-2025-66516

HIGH NUCLEI LAB

Apache Tika <3.2.1 - XXE

Title source: llm

Description

Critical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (1.13-1.28.5) modules on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. This CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways. First, while the entrypoint for the vulnerability was the tika-parser-pdf-module as reported in CVE-2025-54988, the vulnerability and its fix were in tika-core. Users who upgraded the tika-parser-pdf-module but did not upgrade tika-core to >= 3.2.2 would still be vulnerable. Second, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the "org.apache.tika:tika-parsers" module.

Exploits (4)

nomisec WORKING POC 12 stars
by chasingimpact · poc
https://github.com/chasingimpact/CVE-2025-66516-Writeup-POC
nomisec WORKING POC 5 stars
by sid6224 · poc
https://github.com/sid6224/CVE-2025-66516-POC
nomisec WORKING POC
by intSheep · poc
https://github.com/intSheep/Tika-CVE-2025-66516-Lab
nomisec SCANNER
by yunatamos · poc
https://github.com/yunatamos/Blackash-CVE-2025-66516

Nuclei Templates (1)

Apache Tika - XML External Entity Injection
HIGHVERIFIEDby MathematicianGoat
Shodan: title:"Apache Tika"
FOFA: title="Apache Tika"

Scores

CVSS v3 8.4
EPSS 0.0146
EPSS Percentile 80.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-611
Status published
Products (4)
apache/tika 1.13 - 3.2.2
org.apache.tika/tika-core 1.13 - 3.2.2Maven
org.apache.tika/tika-parser-pdf-module 2.0.0 - 3.2.2Maven
org.apache.tika/tika-parsers 1.13 - 2.0.0Maven
Published Dec 04, 2025
Tracked Since Feb 18, 2026