Vulnerability · Published May 14, 2025 · Assigned by GitHub_M

CVE-2025-47778Sulu vulnerable to XXE in SVG File upload Inspector

Medium 6.1

In plain English

A medium-severity XML external entity in sulu from sulu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.1Medium
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Sulu is an open-source PHP content management system based on the Symfony framework. Starting in versions 2.5.21, 2.6.5, and 3.0.0-alpha1, an admin user can upload SVG which may load external data via XML DOM library. This can be used for insecure XML External Entity References. The problem has been patched in versions 2.6.9, 2.5.25, and 3.0.0-alpha3. As a workaround, one may patch the effect file `src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php` manually.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistsulu/sulu2.5.25GHSA-f6rx-hf55-4255
Packagistsulu/sulu2.6.9GHSA-f6rx-hf55-4255
Packagistsulu/sulu3.0.0-alpha3GHSA-f6rx-hf55-4255

Affected products (as reported)

VendorProductVersions
sulu sulu >= 2.5.21, < 2.5.25>= 2.6.5, < 2.6.9>= 3.0.0-alpha1, < 3.0.0-alpha3

Weakness: CWE-611 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

References