🔍 CVE-2026-9134

6.4
CVSS Score
MEDIUM
2026-06-13
2026-07-23 09:10
✅ 완료

🇰🇷 한글 설명

WordPress용 FooGallery 플러그인 3.1.31 이하 버전에서 'custom_attribute_key' 숏코드 파라미터를 통한 저장형 XSS 취약점이 발견되었습니다. foogallery_sanitize_javascript() 함수의 불완전한 이벤트 핸들러 블랙리스트와 foogallery_build_container_attributes_safe() 함수의 속성 키 이스케이프 누락으로 인해 발생합니다. 이를 통해 기여자(Contributor) 권한 이상의 인증된 공격자가 악성 스크립트를 삽입하여 사용자의 브라우저에서 실행할 수 있습니다.

💡 쉬운 설명

워드프레스의 FooGallery 플러그인을 사용하는 사이트에서 권한이 있는 사용자가 악성 코드를 몰래 심을 수 있는 보안 약점이 발견되었습니다. 이 코드가 심어진 페이지를 방문하는 일반 사용자는 해커가 의도한 악성 스크립트에 노출될 위험이 있습니다.

🇺🇸 원문 (English)

The FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_attribute_key' shortcode parameter in versions up to, and including, 3.1.31 This is due to an incomplete JavaScript event handler blacklist in the foogallery_sanitize_javascript() function, which blocks only a subset of HTML event attributes (onmouseover, onmouseout, onpointerenter, onclick, onload, onchange, onerror) while permitting others such as 'onmouseenter', combined with the failure to escape the attribute key when building the gallery container HTML in foogallery_build_container_attributes_safe(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

📍 영향받는 시스템

WordPress FooGallery plugin versions up to and including 3.1.31

⚔️ 공격 벡터

인증된 공격자(기여자 권한 이상)가 숏코드 파라미터에 악성 HTML 이벤트 속성을 삽입하여 페이지에 저장

🛡️ 대응 방법

FooGallery 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.1.31보다 높으면 안전하며, 3.1.31 이하이면 취약한 상태입니다.

Shell / Script
wp plugin list --name foogallery --format=json | grep -oP '(?<=version":")[^"]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress