XML external entity injection in Apache FOP
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache FOP | before 2.2 | 2.2 | Patch available | CNA |
| — | org.apache.xmlgraphics:fop (Maven) | before 2.2 | 2.2 | Patch available | GHSA-5hg8-r9vq-gjqp |
- Apache FOP VendorApache Affected before 2.2 Fixed in 2.2 Patch available CNA
- org.apache.xmlgraphics:fop (Maven) Vendor— Affected before 2.2 Fixed in 2.2 Patch available GHSA-5hg8-r9vq-gjqp
Remediation
- Fix · CNA Apache FOP (Apache Software Foundation) Fixed in 2.2
- Fix · GHSA-5hg8-r9vq-gjqp org.apache.xmlgraphics:fop (Maven) Fixed in 2.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Virtualization 4 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-5661
- 2026-10-03 Alias added: GHSA-5hg8-r9vq-gjqp
References
More Apache Formatting Objects Processor vulnerabilities
- TI-2024-18746 Apache XML Graphics FOP: XML External Entity (XXE) Processing CVSS 3.1HIGH 7.5
Sources
- CVE-2017-5661 · CVE Program
- CVE-2017-5661 · NVD
- FIRST EPSS
- GHSA-5hg8-r9vq-gjqp · GitHub Advisory Database · CC BY 4.0
- CVE-2017-5661 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences