Advisory details:
github_osv / GHSA-f58c-gq56-vjjf
| Advisory ID | github_osv/GHSA-f58c-gq56-vjjf |
| Aliases |
CVE-2025-66516
|
| Summary | Apache Tika has XXE vulnerability 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. |
| Status | Published |
| Exploitability | 2.0 |
| Weighted Severity | 9.0 |
| Risk | 10.0 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv4 | 10.0 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-f58c-gq56-vjjf/GHSA-f58c-gq56-vjjf.json |
| generic_textual | CRITICAL |
| Reference id | Reference type | URL |
|---|---|---|
| https://cve.org/CVERecord?id=CVE-2025-54988 | ||
| https://github.com/apache/tika | ||
| https://lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdlps9k | ||
| CVE-2025-66516 | https://nvd.nist.gov/vuln/detail/CVE-2025-66516 |
| Data source | Metasploit |
|---|---|
| Description | This module validates CVE-2025-54988 / CVE-2025-66516 through an Elasticsearch ingest pipeline using the attachment processor. It creates a temporary pipeline, submits an in-memory PDF containing crafted XFA data to the _simulate API, extracts a caller-selected local file, and removes the pipeline in an ensure block. The target must permit pipeline creation, simulation, and deletion. The default proof file is /etc/hostname. No index or document is created. |
| Note | Stability: - crash-safe Reliability: - repeatable-session SideEffects: - ioc-in-logs - config-changes |
| Ransomware campaign use | Unknown |
| Source publication date | Aug. 20, 2025 |
| Source URL | https://github.com/rapid7/metasploit-framework/tree/master/modules/auxiliary/scanner/http/elasticsearch_tika_xfa_xxe.rb |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
There are no SSVC decisions available.