Security mailing lists by PureSourceCode

CVE-2017-5662

HIGH 7.3CVSS 3.0

Improper 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache batik
cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*
<= 1.8
OSV Maven org.apache.xmlgraphics:batik < 1.9 1.9

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.