🇰🇷 한글 설명
WordPress 플러그인 Draft List 2.6.3 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. `[drafts]` 숏코드나 위젯 사용 시 특정 템플릿 설정에서 `{{draft}}` 플레이스홀더가 HTML 속성 내에 위치할 경우, 작성 권한이 있는 사용자가 악성 스크립트가 포함된 제목을 저장하여 방문자의 브라우저에서 코드를 실행할 수 있습니다.
💡 쉬운 설명
글을 올릴 수 있는 권한을 가진 사람이 제목에 몰래 악성 코드를 심어두면, 일반 방문자가 해당 페이지를 볼 때 컴퓨터가 해킹될 수 있는 문제입니다. 템플릿 설정 방식의 허점을 이용한 공격입니다.
🇺🇸 원문 (English)
Draft List is a WordPress plugin to manage and promote unpublished content. Versions 2.6.3 and below are vulnerable to stored Cross-Site Scripting (XSS) in the `[drafts]` shortcode and Draft List widget when the documented custom `template` option places the `{{draft}}` placeholder inside an HTML attribute. The vulnerable code inserts the raw draft `post_title` into `{{draft}}` when the current viewer cannot edit posts. Because the template is sanitized before `{{draft}}` replacement, a Contributor can store a quote-only title payload that breaks out of an attribute in a site-configured Draft List template and executes JavaScript for visitors who load the public page. Version 2.6.4 fixes the issue.
📍 영향받는 시스템
Draft List WordPress plugin version 2.6.3 and below
⚔️ 공격 벡터
Contributor 권한을 가진 사용자가 HTML 속성을 깨뜨리는 특수 문자가 포함된 게시물 제목을 저장하여 실행
🛡️ 대응 방법
Draft List 플러그인을 최신 버전인 2.6.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 Draft List의 버전을 확인하여 2.6.4 미만인지 체크합니다.
wp plugin list --status=active | grep -i 'draft-list'