🇰🇷 한글 설명
WordPress 플러그인인 'The Dark Mode – Improve Accessibility with AI Powered Dark Theme'의 'icon_light' 쇼트코드 속성에서 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 기여자(Contributor) 이상의 권한을 가진 인증된 공격자가 악성 스크립트를 삽입할 수 있습니다. 이 스크립트는 해당 페이지를 방문하는 모든 사용자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
웹사이트 관리 권한이 일부 있는 사용자가 페이지에 몰래 악성 코드를 심을 수 있는 보안 약점입니다. 이 코드가 심어진 페이지를 방문하면 사용자의 정보가 탈취되거나 원치 않는 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The Dark Mode – Improve Accessibility with AI Powered Dark Theme plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'icon_light' Shortcode Attribute in all versions up to, and including, 5.3.17 due to insufficient input sanitization and output escaping. 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.
📍 영향받는 시스템
The Dark Mode – Improve Accessibility with AI Powered Dark Theme 플러그인 5.3.17 이하 모든 버전
⚔️ 공격 벡터
기여자(Contributor) 이상의 권한을 가진 공격자가 'icon_light' 쇼트코드 속성에 악성 스크립트를 삽입하여 공격
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 처리가 적용된 보안 패치를 적용해야 합니다.
🔧 검증 코드
출력된 버전 번호가 5.3.17보다 높은지 확인하여 취약 여부를 판단합니다.
wp plugin list --name='the-dark-mode-improve-accessibility-with-ai-powered-dark-theme' --format=json | jq -r '.[0].version'