CVE-2017-5661
HIGH 7.3CVSS 3.0Improper Restriction of XML External Entity Reference in Apache FOP
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.
- Published
- 18 Apr 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-5hg8-r9vq-gjqp
- Sources
- NVDJSONOSV GHSA-5hg8-r9vq-gjqpJSON
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 | formatting_objects_processorcpe:2.3:a:apache:formatting_objects_processor:*:*:*:*:*:*:*:* |
<= 2.1 | |
| OSV | Maven | org.apache.xmlgraphics:fop | < 2.2 | 2.2 |
References
- http://www.debian.org/security/2017/dsa-3864 · WEB
- http://www.securityfocus.com/bid/97947 · WEB
- https://www.tenable.com/security/tns-2021-14 · WEB
- https://xmlgraphics.apache.org/security.html · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-5661 · 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)