Sulu: Stored XSS via media download inline-disposition override
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sulu | sulu | before 2.6.25; 3.0.0-alpha1 to before 3.0.8 | 2.6.25, 3.0.8 | Patch available | CNA |
| — | sulu/sulu (Packagist) | before 2.6.25 | 2.6.25 | Patch available | GHSA-pp4x-ccxq-6r33 |
| — | sulu/sulu (Packagist) | 3.0.0-alpha1 to before 3.0.8 | 3.0.8 | Patch available | GHSA-pp4x-ccxq-6r33 |
- sulu Vendorsulu Affected before 2.6.25; 3.0.0-alpha1 to before 3.0.8 Fixed in 2.6.25, 3.0.8 Patch available CNA
- sulu/sulu (Packagist) Vendor— Affected before 2.6.25 Fixed in 2.6.25 Patch available GHSA-pp4x-ccxq-6r33
- sulu/sulu (Packagist) Vendor— Affected 3.0.0-alpha1 to before 3.0.8 Fixed in 3.0.8 Patch available GHSA-pp4x-ccxq-6r33
Remediation
- Fix · CNA sulu (sulu) Fixed in 2.6.25, 3.0.8
- Fix · GHSA-pp4x-ccxq-6r33 sulu/sulu (Packagist) Fixed in 2.6.25 Advisory →
- Fix · GHSA-pp4x-ccxq-6r33 sulu/sulu (Packagist) Fixed in 3.0.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-82396
- 2026-10-03 Alias added: GHSA-pp4x-ccxq-6r33
References
More sulu vulnerabilities
- TI-2021-19642 PHP file inclusion in the Sulu admin panel CVSS 3.1HIGH 8.8
- TI-2024-18520 Sulu grants access to pages regardless of role permissions CVSS 3.1HIGH 8.1
- TI-2021-12405 XSS Injection in Media Collection Title was possible CVSS 3.1HIGH 8.4
- TI-2026-33442 Sulu: Weak Cryptographical usage for API Key generation and Reset Tokens CVSS 4.0MEDIUM 6.9
- TI-2025-30243 Sulu vulnerable to XXE in SVG File upload Inspector CVSS 4.0MEDIUM 6.1
- TI-2021-19641 Privilege escalation in the Sulu Admin panel CVSS 3.1HIGH 7.2
Sources
- CVE-2026-82396 · CVE Program
- CVE-2026-82396 · NVD
- FIRST EPSS
- GHSA-pp4x-ccxq-6r33 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences