Intel

AIKIDO-2026-702786

sulu/sulu is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-pp4x-ccxq-6r33 Published Today

54

Medium Risk

This Affects:

PHPsulu/sulu
0.0.1 - 2.6.24
Fixed in 2.6.25
3.0.0 - 3.0.7
Fixed in 3.0.8
Are you affected? Scan for Free

TL;DR

The media download endpoint honors an inline=1 query parameter that forces a Content-Disposition: inline header for any file type. Because HTML and other scriptable uploads are not blocked by default, a user with media upload permissions can upload a malicious HTML file and share a crafted download link. When another user opens that link, the file renders in the application origin and runs JavaScript in their authenticated session. The fix forces Content-Disposition: attachment for HTML, XHTML, and XML document MIME types while keeping inline rendering for safe formats such as images and PDFs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you allow users with media upload permissions to upload HTML or other scriptable files.

Background info

sulu/sulu is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.6.24 and 3.0.0 - 3.0.7.

How to fix this

Upgrade the sulu/sulu library to the patch version.