CVE-2026-41576
Ajax30/BraveCMS-2.0: Stored HTML Injection in Contact Email via nl2br() and Unescaped Blade Template
Mitigation
- Upgrade BraveCMS-2.0 to 6c5660373cf5f0ca9181603280427aca46ef11ea or later.
Who should check
- Anyone running Ajax30 BraveCMS-2.0 < 6c5660373cf5f0ca9181603280427aca46ef11ea
Vulnerability facts
- Affected
- Ajax30 BraveCMS-2.0 < 6c5660373cf5f0ca9181603280427aca46ef11ea
- Fixed in
- Ajax30 BraveCMS-2.0 6c5660373cf5f0ca9181603280427aca46ef11ea
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Brave CMS is an open-source CMS. Prior to commit 6c56603, the contact form is publicly accessible (no authentication required). User-supplied message text is passed through PHP's nl2br() function, which converts newlines to <br> tags but does not escape HTML. The resulting string is then passed to a Blade email template using the unescaped {!! $msg !!} directive. The resulting content is then rendered in a Blade email template using the unescaped {!! $msg !!} directive. Because HTML is not sanitized, arbitrary markup can be injected into the email body. While modern HTML-capable email clients (Gmail or Outlook Web) typically block JavaScript execution, they still render HTML content. This allows attackers to craft convincing phishing interfaces inside the email sent to the administrator. This issue has been patched via commit 6c56603.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Ajax30 BraveCMS-2.0 | < 6c5660373cf5f0ca9181603280427aca46ef11ea | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-41576. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-41576.md Affected: Ajax30 BraveCMS-2.0 < 6c5660373cf5f0ca9181603280427aca46ef11ea Fixed in: Ajax30 BraveCMS-2.0 6c5660373cf5f0ca9181603280427aca46ef11ea Steps: 1. Search this machine and project for Ajax30 BraveCMS-2.0: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-41576 being exploited?
There is no confirmed exploitation: CVE-2026-41576 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-41576?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-41576?
Ajax30 BraveCMS-2.0 < 6c5660373cf5f0ca9181603280427aca46ef11ea.
Is there a fix for CVE-2026-41576?
Yes. Fixed in Ajax30 BraveCMS-2.0 6c5660373cf5f0ca9181603280427aca46ef11ea. Upgrade BraveCMS-2.0 to 6c5660373cf5f0ca9181603280427aca46ef11ea or later.
How do I check if I'm affected by CVE-2026-41576?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.