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.
Published: 2026-08-31
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Sulu is a PHP CMS that allows media uploads. Prior to the 2.6.25 and 3.0.8 releases, the media download route honored an inline query parameter for scriptable MIME types such as text/html and application/xml. When a user with upload permission stores an HTML, XHTML, or XML document and creates a link with inline=1, the server returns the file with a normal inline disposition. An authenticated victim who opens the link is exposed to attacker‑controlled JavaScript that runs with the victim’s session, enabling the attacker to read data or perform actions on the victim’s behalf.

Affected Systems

Any installation of Sulu that has not been upgraded past version 2.6.25 or 3.0.8 is vulnerable. The issue affects the public media download endpoint and its administration variant, both hosted at /media/{id}/download/{slug}.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate impact. No EPSS data is available and the vulnerability is not listed in CISA KEV. Exploitation requires an attacker to possess media upload rights, store malicious content, and then lures a legitimate user into opening a crafted download link. Because the attack relies on a stored cross‑site script that is delivered from the Sulu origin, the attacker must first be able to upload malicious media or abuse an existing upload account.

Generated by OpenCVE AI on August 31, 2026 at 22:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Sulu to version 2.6.25 or 3.0.8 or later to apply the vendor fix that removes the inline override for scriptable MIME types.
  • If an upgrade is not immediately possible, configure the application to reject or transform inline=1 parameters so that all media downloads are served with an attachment disposition, or disable download functionality for untrusted users.
  • Reduce the risk of malicious uploads by limiting media upload permissions to trusted personnel and by validating uploaded files against a whitelist of safe MIME types.

Generated by OpenCVE AI on August 31, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Sulu
Sulu sulu
Vendors & Products Sulu
Sulu sulu

Mon, 31 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Sulu: Stored XSS via media download inline-disposition override
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T21:23:16.852Z

Reserved: 2026-08-28T22:00:43.512Z

Link: CVE-2026-82396

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T22:17:22.780

Modified: 2026-08-31T22:17:22.780

Link: CVE-2026-82396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T23:00:12Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')