{"id":"CVE-2026-82396","summary":"Sulu: Stored XSS via media download inline-disposition override","details":"Sulu is an open-source PHP content management system based on the Symfony framework. Prior to versions 2.6.25 and 3.0.8, src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php allows the /media/{id}/download/{slug} route and its administration variant to honor the inline query parameter for scriptable MIME types. The vulnerable stored Content-Type values include text/html, application/xhtml+xml, text/xml, and application/xml. An attacker with media upload permission can store an HTML, XHTML, or XML document and create a link using inline=1, causing the application to return the file on the Sulu origin instead of forcing Content-Disposition attachment. When an authenticated victim opens the link, attacker-controlled JavaScript can execute with the victim's Sulu-origin session and can read data or perform actions as that victim. This issue is fixed in versions 2.6.25 and 3.0.8.","aliases":["GHSA-pp4x-ccxq-6r33"],"modified":"2026-09-02T03:47:29.217115544Z","published":"2026-08-31T21:23:16.852Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82396.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/sulu/sulu/releases/tag/2.6.25"},{"type":"WEB","url":"https://github.com/sulu/sulu/releases/tag/3.0.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82396.json"},{"type":"ADVISORY","url":"https://github.com/sulu/sulu/security/advisories/GHSA-pp4x-ccxq-6r33"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82396"},{"type":"FIX","url":"https://github.com/sulu/sulu/commit/d061094f5b7bb1d5e974544fce30bede9c7adf8e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sulu/sulu","events":[{"introduced":"0"},{"introduced":"9362e10753d0284b3265a66c288473cc0ab570d7"},{"fixed":"2641e81e2f1480b0c7ce37b622704e1fe040785b"},{"fixed":"576d465a8fb91de5bd45dd3b88834a062880e496"},{"fixed":"d061094f5b7bb1d5e974544fce30bede9c7adf8e"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.6.25"},{"introduced":"3.0.0-alpha1"},{"fixed":"3.0.8"}]}}],"versions":["3.0.7","2.6.24","2.6.23","3.0.6","2.6.22","3.0.5","2.6.21","3.0.4","2.6.20","3.0.3","2.6.19","3.0.2","2.6.18","3.0.1","3.0.0","2.6.17","3.0.0-RC2","2.6.16","3.0.0-RC1","3.0.0-beta4","2.6.15","2.6.14","3.0.0-beta3","2.6.13","3.0.0-beta2","2.6.12","3.0.0-beta1","2.6.11","3.0.0-alpha5","3.0.0-alpha4","2.6.10","2.6.9","3.0.0-alpha3","2.6.8","3.0.0-alpha1","2.6.7","2.6.6","2.6.5","2.6.4","2.6.3","2.6.2","2.6.1","2.6.0","2.6.0-RC2","2.6.0-RC1","2.5.1","2.5.0","2.5.0-alpha1","2.4.0","2.4.0-RC1","2.3.1","2.3.0","2.3.0-RC2","2.3.0-RC1","2.2.1","2.2.0","2.2.0-RC1","2.1.0-RC1","2.0.0","2.0.0-RC3","2.0.0-RC2","2.0.0-RC1","2.0.0-alpha6","2.0.0-alpha5","2.0.0-alpha4","2.0.0-alpha3","2.0.0-alpha2","2.0.0-alpha1","1.6.0-RC1","1.5.0-RC3","1.5.0-RC2","1.5.0-RC1","1.4.0-RC2","1.4.0-RC1","0.8.4","0.8.5","0.8.3","0.8.0","0.7.1","0.7.0","0.6.8","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.0","0.4.0","0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82396.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}