CVE-2017-5662
HIGH 7.3CVSS 3.0Improper Restriction of XML External Entity Reference in 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.
- Published
- 18 Apr 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-qwgx-59jw-qfg9
- Sources
- NVDJSONOSV GHSA-qwgx-59jw-qfg9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.9 | AV:N/AC:M/Au:S/C:C/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | batikcpe:2.3:a:apache:batik:*:*:*:*:*:*:*:* |
<= 1.8 | |
| OSV | Maven | org.apache.xmlgraphics:batik | < 1.9 | 1.9 |
References
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html · WEB
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html · WEB
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html · WEB
- http://www.securityfocus.com/bid/97948 · Third Party Advisory, VDB Entry, WEB
- http://www.securitytracker.com/id/1038334 · WEB
- https://access.redhat.com/errata/RHSA-2017:2546 · WEB
- https://access.redhat.com/errata/RHSA-2017:2547 · WEB
- https://access.redhat.com/errata/RHSA-2018:0319 · WEB
- https://www.debian.org/security/2018/dsa-4215 · WEB
- https://www.oracle.com/security-alerts/cpuoct2020.html · WEB
- https://xmlgraphics.apache.org/security.html · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-5662 · ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 18 Apr 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)