CVE-2017-12621: Apache Commons Jelly - XML External Entity Injection
- Cve: CVE-2017-12621
- Name: Apache Commons Jelly - XML External Entity Injection
- Description: During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.
- Impact: Attackers can cause the parser to connect to arbitrary URLs, leading to information disclosure, server-side request forgery, or denial of service.
- Remediation: Update to version 1.0.1 or later to fix the XXE vulnerability.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: information_disclosure, server_side_request_forgery, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0813
- Epss percentile: 0.9498
- Assignee: [email protected]
- Published at: 2017-09-28T01:29:01Z
- Age in days: 3344
- Modified at: 2026-06-17T01:03:38Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12621
- Nvd status: modified
- Checked, none or zero: 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
| Url | Tags |
|---|---|
| https://issues.apache.org/jira/browse/JELLY-293 | Issue Tracking, Patch, Vendor Advisory |
| http://www.securityfocus.com/bid/101052 | Third Party Advisory, VDB Entry |
| http://www.securitytracker.com/id/1039444 | Third Party Advisory, VDB Entry |
| https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73%40%3Cdev.commons.apache.org%3E |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:commons_jelly | < 1.0.1 | no | nvd | /v1/products/apache/commons_jelly |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/commons-jelly | package | yes | /v1/repositories/apache/commons-jelly |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Remote: yes
- 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, exposed hosts