XML External Entity (XXE) Injection Affecting fop package, versions <1:2.1-6


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.52% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-FOP-22469324
  • published12 Nov 2026
  • disclosed18 Apr 2017

Introduced: 18 Apr 2017

CVE-2017-5661  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Echo:latest fop to version 1:2.1-6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream fop package and not the fop package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.