CVE-2026-41576

Source
https://cve.org/CVERecord?id=CVE-2026-41576
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41576.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-41576
Aliases
  • GHSA-x7cg-8grr-grvx
Published
2026-05-08T14:50:40Z
Modified
2026-10-08T02:51:23Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Ajax30/BraveCMS-2.0: Stored HTML Injection in Contact Email via nl2br() and Unescaped Blade Template
Details

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

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41576.json"
}
References

Affected packages

Git / github.com/ajax30/bravecms-2.0

Affected ranges

Type
GIT
Repo
https://github.com/ajax30/bravecms-2.0
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41576.json"