CVE-2018-11796: Apache Tika - XML External Entity Injection
- Cve: CVE-2018-11796
- Name: Apache Tika - XML External Entity Injection
- Description: In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing. However, Tika reuses SAXParsers and calls reset() after each parse, which, for Xerces2 parsers, as per the documentation, removes the user-specified SecurityManager and thus removes entity expansion limits after the first parse. Apache Tika versions from 0.1 to 1.19 are therefore still vulnerable to entity expansions which can lead to a denial of service attack. Users should upgrade to 1.19.1 or later.
- Impact: Attackers can cause denial of service by triggering excessive entity expansions, leading to resource exhaustion.
- Remediation: Upgrade to version 1.19.1 or later.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.07537
- Epss percentile: 0.94652
- Assignee: [email protected]
- Published at: 2018-10-09T22:29:00Z
- Age in days: 2968
- Modified at: 2026-06-17T01:36:36Z
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-11796
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:tika | >= 0.1, <= 1.19 | no | nvd | /v1/products/apache/tika |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/tika | package | yes | /v1/repositories/apache/tika |
Index
- Repositories: 39
- Repositories high signal: 34
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 409
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports