{"id":"CVE-2025-47778","published":"2025-05-14T15:29:08Z","modified":"2025-05-14T18:13:14Z","title":"Sulu vulnerable to XXE in SVG File upload Inspector","vendor":"sulu","product":"sulu","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.42108,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-f6rx-hf55-4255","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sulu/sulu/commit/02f52fca04eb9495b9b4a0c5cc64cf23bc27f544","tags":["x_refsource_MISC"]},{"url":"https://github.com/sulu/sulu/blob/2.6/src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.42},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"sulu","affectedVersions":[{"vendor":"sulu","product":"sulu","versions":[">= 2.5.21, < 2.5.25",">= 2.6.5, < 2.6.9",">= 3.0.0-alpha1, < 3.0.0-alpha3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-14T18:13:08.671516Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"sulu/sulu","vulnerableRanges":[">=2.5.21, <2.5.25",">=2.6.5, <2.6.9",">=3.0.0-alpha1, <3.0.0-alpha3"],"patched":["2.5.25","2.6.9","3.0.0-alpha3"],"from":["GHSA-f6rx-hf55-4255"],"provenance":"source"}],"summary":{"text":"Sulu, an open-source PHP content management system built on Symfony, contains an XML External Entity (XXE) flaw in its SVG file upload inspector, which parses uploaded SVG files using the XML DOM library in a way that allows external entity references. An attacker with admin-level authentication on the network can upload a crafted SVG file to trigger the external data loading, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:34Z"},"euvd":{"id":"EUVD-2025-14948","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sulu-cve-2024-47618","parents":[{"from":"CVE-2024-47618","to":"CVE-2025-47778","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:sulu/sulu","fromFixed":"2.5.21","toFixed":"2.5.25","daysApart":223},{"kind":"same-code","provenance":"machine","files":["src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php"],"commits":["https://github.com/sulu/sulu/commit/ca72f75eebe41ea7726624d8aea7da6c425f1eb9","https://github.com/sulu/sulu/commit/02f52fca04eb9495b9b4a0c5cc64cf23bc27f544"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-27915","published":"2024-03-06","fixed":"2.5.13","kev":false},{"cve":"CVE-2024-47617","published":"2024-10-03","fixed":"2.6.5","kev":false},{"cve":"CVE-2024-47618","published":"2024-10-03","fixed":"2.6.5","kev":false},{"cve":"CVE-2025-47778","published":"2025-05-14","fixed":"3.0.0-alpha3","kev":false},{"cve":"CVE-2026-34372","published":"2026-03-31","fixed":"3.0.5","kev":false,"link":{"from":"CVE-2025-47778","to":"CVE-2026-34372","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:sulu/sulu","fromFixed":"2.6.9","toFixed":"2.6.22","daysApart":321}]}},{"cve":"CVE-2026-45701","published":"2026-06-01","fixed":"3.0.6","kev":false},{"cve":"CVE-2026-82394","published":"2026-08-31","fixed":"3.0.8","kev":false}],"package":"Packagist:sulu/sulu"}}