Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. sulu/sulu
  4. ›
  5. CVE-2026-82396

CVE-2026-82396: Sulu: Stored XSS via media download inline-disposition override

September 2, 2026

Stored Cross Site Scripting (XSS) in the media download endpoint.

The download route (/media/{id}/download/{slug} and its admin variant) accepts the query parameter ?inline=1. When it is present, the response is sent with the header Content-Disposition: inline for any MIME type, which overrides the disposition rules the server would otherwise apply. By default, HTML and other scriptable uploads are not blocked, the file is served on the application origin with its stored Content-Type, and no X-Content-Type-Options or Content-Security-Policy header is sent. Because of this, an attacker can upload an HTML file and build a link that runs their own JavaScript in the context of the Sulu origin.

Every installation where users who are not fully trusted can upload media is affected. This includes editors who hold the media add permission. Such an editor can store a payload that runs in the authenticated session of anyone who opens the link, including an administrator, which allows theft of the session and credentials and lets the attacker act as the victim.

The problem is present on the 2.6 and 3.0 branches and goes back to the introduction of the ?inline override in 2017. It is not the same as CVE-2024-47617, which was a reflected XSS through the slug and is already fixed.

References

  • github.com/advisories/GHSA-pp4x-ccxq-6r33
  • github.com/sulu/sulu/commit/d061094f5b7bb1d5e974544fce30bede9c7adf8e
  • github.com/sulu/sulu/releases/tag/2.6.25
  • github.com/sulu/sulu/releases/tag/3.0.8
  • github.com/sulu/sulu/security/advisories/GHSA-pp4x-ccxq-6r33
  • nvd.nist.gov/vuln/detail/CVE-2026-82396

Code Behaviors & Features

Detect and mitigate CVE-2026-82396 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.25, all versions starting from 3.0.0-alpha1 before 3.0.8

Fixed versions

  • 2.6.25
  • 3.0.8

Solution

Upgrade to versions 2.6.25, 3.0.8 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/sulu/sulu/CVE-2026-82396.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 12 Sep 2026 00:19:08 +0000.