🔍 CVE-2026-4246

6.1
CVSS Score
MEDIUM
2026-08-28
2026-08-28 20:17
✅ 완료

🇰🇷 한글 설명

WordPress의 ElementsKit Pro 플러그인 4.10.1 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. Advanced Search REST API의 's' 파라미터에 대한 입력값 검증 및 출력 이스케이프가 미흡하여, 인증되지 않은 공격자가 악성 스크립트를 삽입할 수 있습니다.

💡 쉬운 설명

검색창에 특수 문자를 포함한 악성 코드를 입력하면, 이 코드가 웹사이트 데이터베이스에 저장됩니다. 이후 다른 사용자가 검색 결과가 없는 페이지를 방문할 때 저장된 악성 코드가 실행되어 개인정보 탈취 등의 피해를 입을 수 있습니다.

🇺🇸 원문 (English)

The ElementsKit Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 's' parameter of the Advanced Search REST endpoint in all versions up to, and including, 4.10.1 due to insufficient input sanitization and output escaping. The REST endpoint at /wp-json/elementskit/v1/advanced-search uses permission_callback set to __return_true, allowing unauthenticated access. Search terms are stored in the ekit_advanced_search_popular_keyword WordPress option via update_option(). While sanitize_text_field() is applied, it does not encode double quotes, and the stored keywords are rendered in HTML attributes via sprintf without esc_attr(), allowing attribute injection. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user triggers the "no results" popular keywords view on pages using the Advanced Search widget.

📍 영향받는 시스템

ElementsKit Pro plugin for WordPress (version up to and including 4.10.1)

⚔️ 공격 벡터

인증되지 않은 공격자가 REST API 엔드포인트를 통해 악성 스크립트가 포함된 검색어를 전송하여 저장함

🛡️ 대응 방법

ElementsKit Pro 플러그인을 최신 버전으로 업데이트하여 입력값 검증 및 출력 이스케이프 로직을 적용해야 함

🔧 검증 코드

출력된 결과에서 ElementsKit Pro의 버전을 확인하여 4.10.1 이하인지 점검함

Shell / Script
wp plugin list --status=active | grep -i 'elementskit-pro'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress