sulu/sulu is vulnerable to Cross-Site Scripting (XSS)
54
Medium Risk
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.
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.
sulu/sulu is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.6.24 and 3.0.0 - 3.0.7.
Upgrade the sulu/sulu library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant