Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5661
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:47 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5661
Complete source record
{
"id": "f058b8ffc7e061fb7958851f84fb4c8d0c1c026e60da30f2c6b8caf8778d6205",
"url": "https://osv.dev/vulnerability/CVE-2017-5661",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5661",
"summary": "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.",
"evidence": "osv:CVE-2017-5661",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-5661",
"aliases": [
"CVE-2017-5661",
"GHSA-5hg8-r9vq-gjqp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/xmlgraphics-fop",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "43933a18291fc2e7092e1bd535f59d8f0890a2fc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:formatting_objects_processor:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"fop-2_1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5661.json"
}
}
],
"modified": "2026-10-24T10:30:21.963256113Z",
"provider": "osv",
"references": [
"https://www.tenable.com/security/tns-2021-14",
"https://xmlgraphics.apache.org/security.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5661",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430592,
"published_at": "2017-04-18T14:59:00.15+00:00"
}