🔍 CVE-2026-41576

7.1
CVSS Score
HIGH
2026-05-08
2026-05-08 15:58
✅ 완료

🇰🇷 한글 설명

Brave CMS의 contact form이 인증 없이 공개 접근 가능하며, 사용자 입력이 HTML 이스케이프 처리 없이 이메일 템플릿의 unescaped 지시어로 전달됩니다. 공격자는 contact form을 통해 HTML 마크업을 주입하여 관리자에게 전송되는 이메일에 피싱 인터페이스를 만들 수 있으며, 이메일 클라이언트가 HTML을 렌더링하므로 실제 피싱이 작동할 수 있습니다.

💡 쉬운 설명

Brave CMS의 문의 양식에서 악의적인 HTML 코드를 삽입할 수 있고, 이것이 관리자 이메일에 그대로 표시되어 피싱 이메일을 만들 수 있습니다. 이메일에서 HTML이 렌더링되므로 사용자가 속을 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Brave CMS commit 6c56603 이전 버전 모두

⚔️ 공격 벡터

contact form의 message 필드에 HTML 태그를 포함시켜 공개 제출

🛡️ 대응 방법

Brave CMS를 commit 6c56603 이상으로 업데이트하거나 contact form 입력을 HTML 이스케이프 처리

🔧 검증 코드

6c56603 commit이 출력되면 패치된 버전, 없으면 취약한 버전

Shell / Script
git log --all --oneline 2>/dev/null | grep 6c56603

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

💻 영향받는 소프트웨어

PHP