Description
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.
Severity (CVSS)
| Base score | 5.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sulu | sulu | < 2.6.25; >= 3.0.0-alpha1, < 3.0.8 |
References
- https://github.com/sulu/sulu/security/advisories/GHSA-pp4x-ccxq-6r33 (x_refsource_CONFIRM)
- https://github.com/sulu/sulu/commit/d061094f5b7bb1d5e974544fce30bede9c7adf8e (x_refsource_MISC)
- https://github.com/sulu/sulu/releases/tag/2.6.25 (x_refsource_MISC)
- https://github.com/sulu/sulu/releases/tag/3.0.8 (x_refsource_MISC)
Generated from the official CVE List on 01 Sep 2026 07:00 UTC.