Exploit database

GH-80158286ef9913da973f8a0ca2cc06ae

eqstlab/cve-2026-33937

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-33937

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files1
eqstlab/cve-2026-33937Revision e903cf8834f5

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

public/index.html

HTML · 4,587 bytes
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>대용량 메일 발송 서비스</title>
    <style>
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #1e1e2f; color: #fff; margin: 0; display: flex; height: 100vh; }
        .sidebar { width: 320px; background-color: #2a2a40; padding: 25px; box-shadow: 2px 0 10px rgba(0,0,0,0.3); z-index: 10; }
        .content { flex: 1; padding: 40px; display: flex; flex-direction: column; align-items: center; background-color: #151521; }
        h2 { margin-top: 0; color: #a8a8ff; border-bottom: 1px solid #444; padding-bottom: 15px; font-size: 20px; }
        label { display: block; margin-top: 20px; font-size: 13px; color: #ccc; font-weight: bold; }
        input, textarea { width: 100%; padding: 12px; margin-top: 8px; border: 1px solid #555; border-radius: 6px; background: #1e1e2f; color: #fff; box-sizing: border-box; font-size: 14px; }
        textarea { height: 120px; resize: none; line-height: 1.5; }
        button { width: 100%; margin-top: 30px; padding: 15px; background-color: #5a5af9; color: white; border: none; border-radius: 6px; font-weight: bold; font-size: 15px; cursor: pointer; transition: 0.2s; }
        button:hover { background-color: #4848d9; }
        .preview-box { width: 100%; max-width: 600px; background: white; color: black; min-height: 400px; border-radius: 8px; padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: none; margin-top: 20px; overflow: hidden; }
    </style>
</head>
<body>

<div class="sidebar">
    <h2>이메일 발신 내용 설정</h2>
    
    <label>메일 제목</label>
    <input type="text" id="mailSubject" value="4월 보안 동향 리포트">

    <label>메인 헤드라인</label>
    <input type="text" id="mainHeader" value="새로운 보안 위협을 확인하세요">

    <label>본문 내용</label>
    <textarea id="mainBody">이번 달 발견된 치명적인 취약점 패치 가이드를 안내해 드립니다. 고객님의 인프라를 안전하게 보호하세요.</textarea>

    <button onclick="requestPreview()">레이아웃 미리보기</button>
</div>

<div class="content">
    <h2 style="color: #fff; border:none; margin-bottom: 0;">메일 미리보기</h2>
    <div class="preview-box" id="previewArea"></div>
</div>

<script>
    async function requestPreview() {
        const previewArea = document.getElementById('previewArea');
        previewArea.style.display = 'block';
        previewArea.innerHTML = "<p style='text-align:center; padding: 50px; color:#888;'>서버에서 템플릿을 렌더링 중입니다...</p>";

        const subject = document.getElementById('mailSubject').value;
        const mainHeader = document.getElementById('mainHeader').value;
        const mainBody = document.getElementById('mainBody').value;

        const compiledTemplateString = `
            <div style="font-family: 'Helvetica Neue', Arial, sans-serif; max-width: 600px; margin: 0 auto; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;">
                <div style="background-color: #5a5af9; padding: 30px 20px; color: white; text-align: center;">
                    <h1 style="margin: 0; font-size: 24px;">${mainHeader}</h1>
                </div>
                <div style="padding: 40px 30px; background-color: #ffffff;">
                    <h3 style="color: #333; margin-top: 0;">안녕하세요, {{customerName}}님!</h3>
                    <p style="color: #555; line-height: 1.6; font-size: 15px;">${mainBody}</p>
                    <hr style="border: none; border-top: 1px solid #eee; margin: 30px 0;">
                    <p style="color: #999; font-size: 12px; text-align: center;">본 메일은 {{companyName}}에서 발송되었습니다.</p>
                </div>
            </div>
        `;

        try {
            const response = await fetch('/api/email/preview', {
                method: 'POST',
                headers: { 'Content-Type': 'application/json' },
                body: JSON.stringify({
                    subject: subject,
                    editorTemplateData: compiledTemplateString 
                })
            });

            const result = await response.json();
            previewArea.innerHTML = result.success ? result.html : `<p style='text-align:center; padding: 50px; color:red;'>에러: ${result.error}</p>`;
        } catch (e) {
            previewArea.innerHTML = "<p style='text-align:center; padding: 50px; color:red;'>서버 통신 실패</p>";
        }
    }
</script>

</body>
</html>