CVE-2025-47778 Sulu vulnerable to XXE in SVG File upload Inspector
MediumCVSS 6.1
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sulu(Packagist) | = 2.5.21; = 2.5.22; = 2.5.23; = 2.5.24 +9 more | 2.5.25, 2.6.9, 3.0.0-alpha3 | Fixed |
| sulu | = >= 2.5.21, < 2.5.25; = >= 2.6.5, < 2.6.9; = >= 3.0.0-alpha1, < 3.0.0-alpha3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sulu(Packagist) | >= 2.5.21, < 2.5.25 | 2.5.25 |
| sulu(Packagist) | = 2.5.21 | No fix listed |
| sulu(Packagist) | = 2.5.22 | No fix listed |
| sulu(Packagist) | = 2.5.23 | No fix listed |
| sulu(Packagist) | = 2.5.24 | No fix listed |
| sulu(Packagist) | >= 2.6.5, < 2.6.9 | 2.6.9 |
| sulu(Packagist) | = 2.6.5 | No fix listed |
| sulu(Packagist) | = 2.6.6 | No fix listed |
| sulu(Packagist) | = 2.6.7 | No fix listed |
| sulu(Packagist) | = 2.6.8 | No fix listed |
| sulu(Packagist) | >= 3.0.0-alpha1, < 3.0.0-alpha3 | 3.0.0-alpha3 |
| sulu(Packagist) | = 3.0.0-alpha1 | No fix listed |
| sulu(Packagist) | = 3.0.0-alpha2 | No fix listed |
| sulu | = >= 2.5.21, < 2.5.25 | No fix listed |
| sulu | = >= 2.6.5, < 2.6.9 | No fix listed |
| sulu | = >= 3.0.0-alpha1, < 3.0.0-alpha3 | No fix listed |
References
- https://github.com/sulu/sulu/security/advisories/GHSA-f6rx-hf55-4255 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/sulu/sulu/commit/02f52fca04eb9495b9b4a0c5cc64cf23bc27f544 patch
- github.com product
- https://github.com/sulu/sulu/blob/2.6/src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php
- github.com