🇰🇷 한글 설명
HT Mega Addons for Elementor 플러그인의 3.2.7 이하 모든 버전에는 입력값 검증과 출력 이스케이프가 부족하여 DOM 기반 저장형 XSS 취약점이 존재합니다. 인증되지 않은 공격자가 'htmega-tab-nav' 내 <a> 태그의 href 속성을 통해 악성 스크립트를 삽입할 수 있으며, wpDiscuz 등 특정 플러그인과 함께 설치된 경우 악용 조건이 성립합니다. 피해자가 삽입된 링크를 클릭하면 스크립트가 실행됩니다.
💡 쉬운 설명
웹사이트에 악성 링크가 숨겨질 수 있고, 방문자가 그 링크를 클릭하면 공격자의 코드가 브라우저에서 실행됩니다. 이로 인해 로그인 정보나 개인정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
The HT Mega Addons for Elementor – Elementor Widgets & Template Builder plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'href attribute of <a> inside .htmega-tab-nav' parameter in all versions up to, and including, 3.2.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires a co-installed plugin such as wpDiscuz with its rich editor enabled whose markup allowlist permits span[class] and a[href] storage, an HT Mega Tabs widget present on the same page as the comment section, and a victim user click on the injected anchor link.
📍 영향받는 시스템
HT Mega Addons for Elementor (WordPress 플러그인) 3.2.7 이하 모든 버전
⚔️ 공격 벡터
인증되지 않은 공격자가 댓글 등을 통해 악성 href가 포함된 링크를 삽입하고, 사용자가 이를 클릭하면 DOM 기반 XSS가 실행됨
🛡️ 대응 방법
HT Mega Addons for Elementor 플러그인을 3.2.8 이상 최신 버전으로 업데이트
🔧 검증 코드
출력된 버전이 3.2.7 이하이면 취약하며, 3.2.8 이상이면 패치가 적용된 것입니다. 명령어가 결과를 출력하지 않으면 플러그인이 설치되어 있지 않은 것입니다.
wp plugin list --name=htmega-addons --field=version 2>/dev/null || grep -i 'Version' wp-content/plugins/htmega-addons/htmega-addons.php 2>/dev/null