{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-5662","id":"CVE-2017-5662","title":"Improper Restriction of XML External Entity Reference in Apache Batik","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 als","descriptionLong":"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.","published":"2017-04-18T14:00:00.000Z","updated":"2026-10-24T10:30:58.600965632Z","reserved":"2017-01-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.9,"vector":"AV:N/AC:M/Au:S/C:C/I:N/A:C","rating":"high","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Batik"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Batik","defaultStatus":null,"versions":[{"status":"affected","version":"before 1.9"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik","purl":"pkg:maven/org.apache.xmlgraphics/batik","ranges":["<1.9"],"fixed":["1.9"],"advisory":"GHSA-qwgx-59jw-qfg9"}],"cwes":["CWE-611"],"aliases":["GHSA-qwgx-59jw-qfg9"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:2547","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0319","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.securitytracker.com/id/1038334","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://www.debian.org/security/2018/dsa-4215","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2546","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/97948","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://xmlgraphics.apache.org/security.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5662","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04118,"epssPercentile":0.90984,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-5662","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5662","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-5662","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qwgx-59jw-qfg9","ok":true,"note":"GHSA-qwgx-59jw-qfg9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-5662","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}