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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | sulu/sulu | 2.5.25 | GHSA-f6rx-hf55-4255 |
| Packagist | sulu/sulu | 2.6.9 | GHSA-f6rx-hf55-4255 |
| Packagist | sulu/sulu | 3.0.0-alpha3 | GHSA-f6rx-hf55-4255 |
Affected products (as reported)
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