🇰🇷 한글 설명
WordPress용 Pagelayer 플러그인의 Button 위젯 내 Custom Attributes 필드에서 저장형 XSS 취약점이 발견되었습니다. 'pagelayer_xss_content' 필터링 함수의 이벤트 핸들러 차단 목록이 불완전하여, 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있습니다.
💡 쉬운 설명
웹사이트 편집 도구의 특정 입력창에 검증되지 않은 코드를 넣을 수 있는 보안 약점이 있습니다. 이를 통해 공격자는 사용자가 페이지를 방문할 때 악성 스크립트가 실행되도록 조작할 수 있습니다.
🇺🇸 원문 (English)
The Page Builder: Pagelayer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Button widget's Custom Attributes field in all versions up to, and including, 2.0.8. This is due to an incomplete event handler blocklist in the 'pagelayer_xss_content' XSS filtering function, which blocks common, but not all, event handlers. 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 Pagelayer plugin (버전 2.0.8 및 그 이하 모든 버전)
⚔️ 공격 벡터
Contributor 이상의 권한을 가진 인증된 공격자가 Button 위젯의 Custom Attributes 필드에 악성 스크립트 삽입
🛡️ 대응 방법
Pagelayer 플러그인을 최신 버전으로 업데이트하여 보안 패치를 적용하십시오.
🔧 검증 코드
출력된 버전 번호가 2.0.8보다 높은지 확인하여 취약 여부를 판단합니다.
wp plugin list --name pagelayer --format=json | grep -o '"version":"[^"]*"' | cut -d'"' -f4