A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Ajax30/BraveCMS-2.0/commit/6c5660373cf5f0ca9181603280427ac…
- github.com /Ajax30/BraveCMS-2.0/security/advisories/GHSA-x7cg-8grr-grvx
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning