Vulnerability · Published Aug 31, 2026 · Assigned by GitHub_M

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

Medium 5.4

In plain English

A medium-severity cross-site scripting in sulu from sulu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 77.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistsulu/sulu2.6.25GHSA-pp4x-ccxq-6r33
Packagistsulu/sulu3.0.8GHSA-pp4x-ccxq-6r33

Affected products (as reported)

VendorProductVersions
sulu sulu < 2.6.25>= 3.0.0-alpha1, < 3.0.8

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References