← Vulnerability feed

Vulnerability record · CVE-2017-5662 · published 18 April 2017

CVE-2017-5662: Apache batik xml external entity (xxe) vulnerability

Apache · Batik

In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

7.3 CVSS 3.0 High EPSS 4.1% · top 9.6% CWE-611 · XML external entity (XXE)
7.3CVSS 3.0 base score, v2 7.9
4.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
22References
17 Jun 2026Last modified by NVD

Description

In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-5662 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-8013Apache batik deserialization of untrusted data vulnerabilityIn Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name w…EPSS 19%8.2CVE-2020-11987Apache batik improper input validation vulnerabilityApache Batik 1.13 is vulnerable to server-side request forgery, caused by improper input validation by the NodePickerPanel. By using a specially-craf…EPSS 13%7.5CVE-2022-41704Apache batik server-side request forgery (ssrf) vulnerabilityA vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics pri…EPSS 2.4%7.5CVE-2022-42890Apache batik server-side request forgery (ssrf) vulnerabilityA vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML …EPSS 2.6%7.5CVE-2022-40146Apache batik server-side request forgery (ssrf) vulnerabilityServer-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affec…EPSS 7.4%7.5CVE-2019-17566Apache batik server-side request forgery (ssrf) vulnerabilityApache Batik is vulnerable to server-side request forgery, caused by improper input validation by the "xlink:href" attributes. By using a specially-c…EPSS 11%6.4CVE-2015-0250Canonical ubuntu linux vulnerabilityXML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote attackers t…EPSS 17%5.3CVE-2022-38398Apache batik server-side request forgery (ssrf) vulnerabilityServer-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to load a url thru the jar protocol. This issue a…EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2017-5662), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.