VDB

CVE-2017-5662

CVE-2017-5662 PUBLISHED CVSS 8.699999809265137 HIGH

Improper Restriction of XML External Entity Reference in Apache Batik

Reported by apache · Published April 18, 2017

batik is fixed in 1.9 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.xmlgraphics:batikMaven Central1.9

Risk scores

CVSS 4.0
8.699999809265137
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
Apache Software FoundationApache Batikbefore 1.9
Apache Software FoundationApache Batik1.9
Mavenorg.apache.xmlgraphics:batik0
Mavenorg.apache.xmlgraphics:batik-dom0
Mavenorg.apache.xmlgraphics:batik-rasterizer0

Timeline

  • Apr 18, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 20, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (6 in total, the first dated here)
  • Sep 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-5662
vulnetix vdb fixes CVE-2017-5662

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5662/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›