Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege Sulu editor account
-
DeliveryUpload HTML/XHTML/XML file with JS payload
-
ExploitCraft /media/{id}/download/{slug}?inline=1 URL
-
InstallDeliver link to authenticated admin victim
-
C2Victim clicks link, browser renders file on Sulu origin
-
ExecuteAttacker JS executes in victim's authenticated session
-
ImpactExfiltrate data or perform privileged admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a Sulu CMS account with media upload permission - at minimum an editor-level role. The attacker must be able to upload files with MIME types text/html, application/xhtml+xml, text/xml, or application/xml. The victim must be an authenticated Sulu user who clicks or is redirected to a crafted /media/{id}/download/{slug}?inline=1 URL. The CVSS vector confirms PR:L (authenticated attacker) and UI:R (victim interaction required). No special server-side configuration beyond a default Sulu installation with media uploads enabled is necessary - the vulnerability exists in standard deployments. Exploitation is constrained by the need for both an attacker with upload access and a victim who interacts with the crafted link; purely unauthenticated remote exploitation is not possible given PR:L. |
| Impact | The CVSS 3.1 score of 5.4 Medium accurately encodes the key constraints: network-reachable delivery (AV:N), low complexity once upload access exists (AC:L), requiring a low-privilege authenticated account such as an editor role (PR:L), user interaction via clicking a crafted link (UI:R), with scope change (S:C) because the exploit executes in the victim's authenticated browser session rather than the attacker's. The scope change is the most significant elevating factor - it means a low-privilege editor can effectively impersonate a high-privilege administrator. No EPSS score was provided in the source intelligence, so exploitation probability cannot be quantified numerically. The absence of KEV listing and public exploit code suggests no confirmed widespread exploitation. The practical risk is highest in multi-user Sulu deployments where untrusted editors coexist with privileged administrators - even a mid-sized municipal IT team in boleslawiec running Sulu for public-facing content management should treat this as urgent given that a single compromised or malicious editor account is sufficient to target administrators. The numeric score underrepresents the insider-threat vector enabled by the scope change. |
| Exploit ScenarioDerived | An attacker holding a low-privilege Sulu editor account uploads an HTML file containing a JavaScript payload designed to exfiltrate session tokens or submit forged admin API requests. The attacker then constructs a URL such as /media/123/download/payload.html?inline=1 and delivers it to a Sulu administrator via an internal message, notification, or phishing email. When the administrator clicks the link while authenticated to Sulu, the server returns the HTML file with Content-Disposition: inline on the Sulu origin, causing the browser to render and execute the attacker's JavaScript within the administrator's authenticated session context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Stored XSS in Sulu CMS prior to versions 2.6.25 and 3.0.8 allows an authenticated attacker with media upload permissions to execute attacker-controlled JavaScript in a victim's browser on the Sulu origin. By uploading an HTML, XHTML, or XML file and crafting a download URL with the inline=1 query parameter, the attacker bypasses the expected Content-Disposition: attachment behavior, causing the browser to render the document instead of downloading it. When an authenticated victim opens the crafted link, the attacker's JavaScript executes with full access to the victim's Sulu-origin session and can read sensitive data or perform privileged actions on the victim's behalf. No public exploit has been identified at time of analysis and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upgrade Sulu CMS to version 2.6.25 on the 2.x branch or version 3.0.8 on the 3.x branch, as documented in the GitHub Security Advisory GHSA-pp4x-ccxq-6r33 and confirmed by the fix commit d061094f5b7bb1d5e974544fce30bede9c7adf8e. The patch enforces Content-Disposition: attachment for all scriptable MIME types and adds a Content-Security-Policy: sandbox header to media responses. If an immediate upgrade is not possible, restrict the media upload permission to fully trusted administrator accounts only, raising the effective attacker prerequisite from low-privilege to high-privilege and significantly reducing exposure; note this does not eliminate the vulnerability but removes the most likely attacker class. As an additional compensating control, consider deploying the Sulu admin panel on a separate subdomain isolated from the public frontend, which limits the session data accessible to an XSS payload and reduces blast radius without eliminating the root cause.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php within Sulu's Symfony-based MediaBundle, affecting the /media/{id}/download/{slug} route and its administration variant. The createBinaryFileResponse() method previously honored the inline=1 query parameter without checking whether the stored file's MIME type was scriptable. MIME types text/html, application/xhtml+xml, text/xml, and application/xml can all be rendered by browsers as executable documents, enabling a stored XSS attack (CWE-79: Improper Neutralization of Input During Web Page Generation). The patch introduces a DANGEROUS_INLINE_MIME_TYPES constant enumerating these four types, forces Content-Disposition: attachment for matching MIME types regardless of the inline parameter, and appends a Content-Security-Policy: sandbox header to all media responses. SVG is deliberately excluded from the blocklist because Sulu's default SvgFileInspector sanitizes SVG uploads before storage. Affected products are identified by CPE cpe:2.3:a:sulu:sulu:*:*:*:*:*:*:*:* covering all 2.x versions prior to 2.6.25 and all 3.x versions prior to 3.0.8.
Know when Sulu gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Network-delivered stored XSS requiring a low-privilege upload account and victim click; scope change reflects JS executing in the victim's authenticated Sulu-origin session.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Broken object-level authorization in Sulu CMS's media move endpoint (prior to 2.6.25 and 3.0.8) allows authenticated bac
In Sulu before versions 1.6.35, 2.0.10, and 2.1.1, when the "Forget password" feature on the login screen is used, Sulu
Sulu is an open-source PHP content management system based on the Symfony framework. Rated high severity (CVSS 8.8), thi
Sulu is a PHP content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, low
Sulu is an open-source PHP content management system based on the Symfony framework. Rated high severity (CVSS 7.2), thi
Unauthenticated JCR-SQL2 injection in Sulu CMS 2.6 (before 2.6.25) and 3.0 (before 3.0.8) allows an anonymous visitor to
Sulu is a PHP content management system. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, n
The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. Rated medium severity (CVSS 6.1), this vulnera
Sulu CMS versions prior to 2.6.25 and 3.0.8 allow authenticated admin users to generate or revoke public preview links f
Sulu is a PHP content management system. Rated medium severity (CVSS 5.1), this vulnerability is remotely exploitable, l
Sulu is a highly extensible open-source PHP content management system based on the Symfony framework. Rated medium sever
Sulu is an open-source PHP content management system based on the Symfony framework. Rated medium severity (CVSS 4.8), t
EUVD-2026-68891
GHSA-pp4x-ccxq-6r33
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB