{"id":"CVE-2017-5661","aliases":["CLSA-2026-1779929352","DEBIAN-CVE-2017-5661","DLA-927-1","DSA-3864-1","EUVD-2022-2596","GHSA-5hg8-r9vq-gjqp","UBUNTU-CVE-2017-5661","USN-3281-1"],"status":"published","title":"Improper Restriction of XML External Entity Reference in Apache FOP","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","severity":{"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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02519,"percentile":0.84932,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2017-04-18T00:00:00Z","modified":"2026-10-24T10:30:21Z","fixes":[{"ecosystem":"Maven","package":"org.apache.xmlgraphics:fop","fixed_in":["2.2"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:Maven","package":"org.apache.xmlgraphics:fop","fixed_in":["1.0-tuxcare.4"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"fop","fixed_in":["1:2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"fop","fixed_in":["1:2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"fop","fixed_in":["1:2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"fop","fixed_in":["1:1.0.dfsg2-6+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"fop","fixed_in":["1:1.1.dfsg2-1+deb8u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"fop","fixed_in":["1:1.1.dfsg-2ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.xmlgraphics:fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2"}]}]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.apache.xmlgraphics:fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0-tuxcare.4"}]}],"versions":["1.0","1.0-tuxcare.1","1.0-tuxcare.2","1.0-tuxcare.3"]},{"source":"osv","ecosystem":"Debian:12","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.0.dfsg2-6+deb7u1"}]}],"versions":["1:1.0.dfsg2-6"]},{"source":"osv","ecosystem":"Debian:8","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.1.dfsg2-1+deb8u1"}]}],"versions":["1:1.1.dfsg2-1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.xmlgraphics:fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2"}]}],"versions":["0.93","0.94","0.95","0.95-1","0.95beta","0.95beta-1","1.0","1.1","2.0","2.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.1.dfsg-2ubuntu1.1"}]}],"versions":["1:1.1.dfsg-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.1.dfsg2-1ubuntu1","1:2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"fop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.1.dfsg-2ubuntu1.1"}]}],"versions":["1:1.1.dfsg-2ubuntu1"]}],"products":[{"vendor":"apache","product":"formatting_objects_processor"},{"vendor":"apache software foundation","product":"apache fop"}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3864","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/97947","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://xmlgraphics.apache.org/security.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5661","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5hg8-r9vq-gjqp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5661","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-5661","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/04/18/2","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3281-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5661","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-5661","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T14:00:00Z","modified":"2024-08-05T15:11:48.294Z","updated_at":"2026-11-02T14:33:12.942409Z"}],"euvd":[{"id":"EUVD-2022-2596","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T14:00:00Z","modified":"2024-08-05T15:11:48Z","updated_at":"2026-11-03T02:39:13.965943Z"}],"ghsa":[{"id":"GHSA-5hg8-r9vq-gjqp","title":"Improper Restriction of XML External Entity Reference in Apache FOP","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2022-05-13T01:07:54Z","modified":"2023-01-27T05:02:18Z","cvss":[{"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","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2017-5661","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T14:59:00.15Z","modified":"2026-06-17T01:20:59.28Z","cvss":[{"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","level":"high","assessor":"primary"},{"version":"2.0","score":7.9,"vector":"AV:N/AC:M/Au:S/C:C/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:03:46.08744Z"}],"osv":[{"id":"CVE-2017-5661","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T14:59:00.15Z","modified":"2026-10-24T10:30:21.963256113Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-CVE-2017-5661","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T14:59:00.15Z","modified":"2026-09-01T20:03:49.174805506Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"GHSA-5hg8-r9vq-gjqp","title":"Improper Restriction of XML External Entity Reference in Apache FOP","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2022-05-13T01:07:54Z","modified":"2023-11-08T03:59:23.103292Z","cvss":[{"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","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"UBUNTU-CVE-2017-5661","description":"In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP 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.","status":"published","published":"2017-04-18T00:00:00Z","modified":"2026-02-04T03:07:01.363494Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:54:15.388065Z"},{"id":"CLSA-2026-1779929352","title":"TuxCare security update for org.apache.xmlgraphics:fop (1 CVE)","description":"TuxCare rebuilt org.apache.xmlgraphics:fop to address 1 CVE. Fixed in 1.0-tuxcare.4.","status":"published","published":"2026-08-04T14:52:34Z","modified":"2026-10-15T09:47:29.914856349Z","updated_at":"2026-11-02T15:43:45.090939Z"},{"id":"DLA-927-1","title":"fop - security update","status":"published","published":"2017-04-29T00:00:00Z","modified":"2026-03-09T02:11:16.872882Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3864-1","title":"fop - security update","status":"published","published":"2017-05-27T00:00:00Z","modified":"2026-03-09T01:22:28.630886Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"USN-3281-1","title":"fop vulnerability","description":"Pierre Ernst discovered that Apache Fop incorrectly handled XML external\nentities. A remote attacker could possibly use this issue to obtain\nsensitive files from the filesystem, or cause a denial of service.\n","status":"published","published":"2017-05-09T14:31:54Z","modified":"2026-04-27T15:13:49.342002Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
