En bref
- CVE-2025-47778 est une vulnérabilité MOYENNE (CVSS 6.1) touchant sulu/sulu.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.47%, plus élevée que 40.7% des vulnérabilités.
- Correctif : mettre à jour vers 2.5.25, 2.6.9, 3.0.0-alpha3 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| sulu/sulu Packagist | ≥ 2.5.21, < 2.5.25≥ 2.6.5, < 2.6.9≥ 3.0.0-alpha1, < 3.0.0-alpha3
| 2.5.252.6.93.0.0-alpha3
|
Description
Impact
A admin user can upload SVG which may load external data via XML DOM library, specially this can be used for eventually reference none secure XML External Entity References.
Patches
The problem has not been patched yet. Users should upgrade to patched versions once they become available. Currently affected versions are:
- 2.6.9
- 2.5.25
- 3.0.0-alpha3
Workarounds
Patch the effect file src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php in sulu with:
-$dom->loadXML($svg, \LIBXML_NOENT | \LIBXML_DTDLOAD);
+$dom->loadXML($data, LIBXML_NONET);
References
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free