🇰🇷 한글 설명
WordPress용 jQuery Hover Footnotes 플러그인의 모든 버전(1.4 포함)에서 각주 한정자('{{...}}' 구문)를 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 미흡으로 인해, 작성자 권한 이상의 공격자가 임의의 스크립트를 삽입하여 사용자가 해당 페이지에 접속할 때 실행되도록 할 수 있습니다. 특히 속성 탈출(attribute-breakout) 페이로드는 HTML 태그를 사용하지 않아 WordPress의 wp_kses_post() 필터링을 우회할 수 있습니다.
💡 쉬운 설명
워드프레스 플러그인의 특정 기능을 이용해 악성 코드를 게시물에 몰래 심을 수 있는 보안 약점입니다. 권한이 있는 사용자가 이 코드를 심으면, 일반 방문자가 해당 글을 읽을 때 악성 스크립트가 자동으로 실행될 수 있습니다.
🇺🇸 원문 (English)
The jQuery Hover Footnotes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Footnote Qualifier ('{{...}}' Syntax) in all versions up to, and including, 1.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The attribute-breakout payload (e.g., a double-quote followed by an event handler) contains no angle brackets and therefore bypasses WordPress core's wp_kses_post() filtering, which only strips disallowed HTML tags rather than sanitizing attribute contexts.
📍 영향받는 시스템
jQuery Hover Footnotes plugin version 1.4 and below
⚔️ 공격 벡터
작성자 권한을 가진 공격자가 각주 구문 내에 HTML 속성을 탈출하는 특수 페이로드를 삽입하여 공격
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 엄격한 속성 검증 및 이스케이프 처리를 적용해야 함
🔧 검증 코드
출력된 결과에서 jquery-hover-footnotes 플러그인의 버전이 1.4 이하인지 확인
wp-cli plugin list --allow-root | grep -E 'jquery-hover-footnotes'