{"id":"CVE-2024-47617","aliases":["CVE-2024-47617","GHSA-6784-9c82-vr85"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected XSS Vulnerability in Sulu Media Bundle","summary":"Sulu is a PHP content management system. This vulnerability allows an attacker to inject arbitrary HTML/JavaScript code through the media download URL in Sulu CMS. It affects the SuluMediaBundle component. The vulnerability is a Reflected Cross-Site Scripting (XSS) issue, which could potentially allow attackers to steal sensitive information, manipulate the website's content, or perform actions on behalf of the victim. This vulnerability is fixed in 2.6.5 and 2.5.21.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sulu is a PHP content management system. This vulnerability allows an attacker to inject arbitrary HTML/JavaScript code through the media download URL in Sulu CMS. It affects the SuluMediaBundle component. The vulnerability is a Reflected Cross-Site Scripting (XSS) issue, which could potentially allow attackers to steal sensitive information, manipulate the website's content, or perform actions on behalf of the victim. This vulnerability is fixed in 2.6.5 and 2.5.21.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThis vulnerability allows an attacker to inject arbitrary HTML/JavaScript code through the media download URL in Sulu CMS. It affects the SuluMediaBundle component. The vulnerability is a Reflected Cross-Site Scripting (XSS) issue, which could potentially allow attackers to steal sensitive information, manipulate the website's content, or perform actions on behalf of the victim.\n\n### Patches\n\nThe problem has not been patched yet. Users should upgrade to patched versions once they become available. Currently affected versions are:\n\n* 2.6.4\n* 2.5.20\n\n### Workarounds\n\nUntil an official patch is released, users can implement additional input validation and output encoding for the 'slug' parameter in the MediaStreamController's downloadAction method. Alternatively, configuring a Web Application Firewall (WAF) to filter potentially malicious input could serve as a temporary mitigation.\n\n### References\n\n* GitHub repository: https://github.com/sulu/sulu\n* Vulnerable code: https://github.com/sulu/sulu/blob/2.6/src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php#L106","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sulu es un sistema de gestión de contenido PHP. Esta vulnerabilidad permite a un atacante inyectar código HTML/JavaScript arbitrario a través de la URL de descarga de medios en Sulu CMS. Afecta al componente SuluMediaBundle. La vulnerabilidad es un problema de Cross-Site Scripting (XSS) Reflejado, que podría permitir a los atacantes robar información confidencial, manipular el contenido del sitio web o realizar acciones en nombre de la víctima. Esta vulnerabilidad se ha corregido en las versiones 2.6.5 y 2.5.21.","source":"nvd"}],"published":"2024-10-03T14:24:44.300Z","modified":"2026-06-17T07:57:24.597Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 2.6.4, < 2.6.5","status":"affected"},{"version":">= 2.5.20, < 2.5.21","status":"affected"}],"vendor":"sulu","product":"sulu","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.6.0","status":"affected","fixed":"2.6.5"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.5.21"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.5.20"},{"status":"affected","version":"2.6.4"}],"vendor":"sulu","product":"sulu","cpe":"cpe:2.3:a:sulu:sulu:2.5.20:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-6784-9c82-vr85","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/commit/a5a5ae555d282e88ff8559d38cfb46dea7939bda","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/commit/eeacd14b6cf55f710084788140d40ebb00314b29","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47617","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sulu/sulu","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sulu/sulu/blob/2.6/src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php#L106","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-03T14:38:49.459Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47617","url":"https://www.cve.org/CVERecord?id=CVE-2024-47617","licence":"CVE Terms of Use","modified":"2024-10-08T13:33:43.219Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6784-9c82-vr85","url":"https://github.com/advisories/GHSA-6784-9c82-vr85","licence":"CC-BY-4.0","modified":"2024-10-17T17:05:46.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47617","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47617","licence":"Public domain","modified":"2026-06-17T07:57:24.597Z"}],"updatedAt":"2026-11-25T22:58:45.997Z","epss":{"score":0.00397,"percentile":0.36013,"date":"2026-12-01T12:00:22.000Z"}}