Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-47778 EUVD-2025-14948GHSA-f6rx-hf55-4255

Sulu vulnerable to XXE in SVG File upload Inspector

Published May 14, 2025 · Updated May 14, 2025 · Assigned by GitHub_M

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 products

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

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist sulu/sulu >= 2.5.21, < 2.5.25 2.5.25 GHSA-f6rx-hf55-4255
Packagist sulu/sulu >= 2.6.5, < 2.6.9 2.6.9 GHSA-f6rx-hf55-4255
Packagist sulu/sulu >= 3.0.0-alpha1, < 3.0.0-alpha3 3.0.0-alpha3 GHSA-f6rx-hf55-4255

References