CVE-2025-47778

Sulu vulnerable to XXE in SVG File upload Inspector

State
Published
Severity
6.1 Medium
Published
May 14, 2025
Updated
May 14, 2025
Reserved
May 9, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.1 MediumCVSS: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:UGitHub_M

Weaknesses

  • CWE-611 Improper Restriction of XML External Entity Reference

Affected Products

ProductVersions
sulusulu
  • >= 2.5.21, < 2.5.25Affected
  • >= 2.6.5, < 2.6.9Affected
  • >= 3.0.0-alpha1, < 3.0.0-alpha3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.