CVE-2025-47778
PHP vulnerability analysis and mitigation

Overview

Sulu, an open-source PHP content management system based on the Symfony framework, contains a security vulnerability (CVE-2025-47778) that affects versions 2.5.21, 2.6.5, and 3.0.0-alpha1. The vulnerability allows admin users to upload SVG files that can load external data via XML DOM library, potentially enabling insecure XML External Entity References (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-611 (Improper Restriction of XML External Entity Reference). The issue stems from the SvgFileInspector component which processes uploaded SVG files. The vulnerability has been assigned a CVSS v4.0 score of 6.1 (MEDIUM) with the vector string 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 (NVD).

Impact

When exploited, this vulnerability could allow an authenticated admin user to perform XML External Entity (XXE) attacks through SVG file uploads. This could potentially lead to unauthorized access to external data and system resources (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 2.6.9, 2.5.25, and 3.0.0-alpha3. For users unable to upgrade immediately, a manual workaround is available by patching the affected file src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php to replace loadXML($svg, \LIBXML_NOENT | \LIBXML_DTDLOAD) with loadXML($data, LIBXML_NONET) (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management