{"answers":{"affected":"6 open source packages ship an affected version, including sulu/sulu.","exploited":"There is no known exploitation of CVE-2025-47778 in the wild and no public exploit code.","fix":"Upgrade sulu/sulu to a fixed version for your release line: 2.5.25, 2.6.9 or 3.0.0-alpha3.","what":"CVE-2025-47778 is a medium-severity vulnerability in sulu, published on 14 May 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-47778 and fix it if it is affected.\n\nWhat it is: CVE-2025-47778 is a medium-severity vulnerability in sulu, published on 14 May 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-47778 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sulu/sulu (Packagist): affected from 2.5.21; fixed in 2.5.25\n- sulu/sulu (Packagist): affected from 2.5.21; fixed in 2.5.25\n- sulu/sulu (Packagist): affected from 2.6.5; fixed in 2.6.9\n- sulu/sulu (Packagist): affected from 2.6.5; fixed in 2.6.9\n- sulu/sulu (Packagist): affected from 3.0.0-alpha1; fixed in 3.0.0-alpha3\n- sulu/sulu (Packagist): affected from 3.0.0-alpha1; fixed in 3.0.0-alpha3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-47778/ (Markdown: https://insights.sbomify.com/CVE-2025-47778/index.md)","id":"CVE-2025-47778","markdown":"https://insights.sbomify.com/CVE-2025-47778/index.md","name":"CVE-2025-47778","record":{"aliases":["GHSA-f6rx-hf55-4255"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Sulu CMS","requires_auth":"high_privilege","summary":"An admin user can upload malicious SVG files to trigger XML External Entity attacks, potentially reading sensitive data or causing denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sulu vulnerable to XXE in SVG File upload Inspector","id":"CVE-2025-47778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xxe","year":"2025"},"n_packages":6,"n_references":3,"next":{"headline":"Using malformed From header can forge identity with \";\" or NULL in name portion","id":"CVE-2025-47779"},"packages":[{"ecosystem":"Packagist","fixed":["2.5.25"],"introduced":["2.5.21"],"last_affected":[],"package":"sulu/sulu","purl":null,"source":"GHSA-f6rx-hf55-4255"},{"ecosystem":"Packagist","fixed":["2.5.25"],"introduced":["2.5.21"],"last_affected":[],"package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"GHSA-f6rx-hf55-4255"},{"ecosystem":"Packagist","fixed":["2.6.9"],"introduced":["2.6.5"],"last_affected":[],"package":"sulu/sulu","purl":null,"source":"GHSA-f6rx-hf55-4255"},{"ecosystem":"Packagist","fixed":["2.6.9"],"introduced":["2.6.5"],"last_affected":[],"package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"GHSA-f6rx-hf55-4255"},{"ecosystem":"Packagist","fixed":["3.0.0-alpha3"],"introduced":["3.0.0-alpha1"],"last_affected":[],"package":"sulu/sulu","purl":null,"source":"GHSA-f6rx-hf55-4255"},{"ecosystem":"Packagist","fixed":["3.0.0-alpha3"],"introduced":["3.0.0-alpha1"],"last_affected":[],"package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"GHSA-f6rx-hf55-4255"}],"prev":{"headline":"5ire Client Vulnerable to Cross-Site Scripting (XSS) and Remote Code Execution (RCE)","id":"CVE-2025-47777"},"products":["sulu"],"published":"2025-05-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-14","vendors":["sulu"]},"summary":"An admin user can upload malicious SVG files to trigger XML External Entity attacks, potentially reading sensitive data or causing denial of service.","url":"https://insights.sbomify.com/CVE-2025-47778/"}