🔍 CVE-2026-8977

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

🇰🇷 한글 설명

WordPress용 WP GDPR Cookie Consent 플러그인 1.0.0 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 'ninja_gdpr_ajax_actions' AJAX 액션의 권한 및 논스 검증 부재와 입력값 검증 미흡으로 인해, 인증된 공격자가 악성 스크립트를 삽입할 수 있습니다.

💡 쉬운 설명

로그인 권한이 있는 사용자가 웹사이트 설정에 몰래 악성 코드를 심을 수 있는 보안 약점입니다. 이 코드가 실행되면 해당 페이지를 방문하는 다른 사용자들의 정보가 탈취될 위험이 있습니다.

🇺🇸 원문 (English)

The WP GDPR Cookie Consent plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ninja_gdpr_ajax_actions' AJAX action in versions up to, and including, 1.0.0. This is due to missing capability and nonce checks on the handleAjaxCalls() function, combined with insufficient input sanitization on the gdprConfig values and missing output escaping in the generateCSS() function which echoes stored configuration values directly into a <style> block rendered on wp_head. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

📍 영향받는 시스템

WP GDPR Cookie Consent plugin (버전 1.0.0 이하)

⚔️ 공격 벡터

인증된 공격자가 AJAX 요청을 통해 악성 스크립트가 포함된 설정값을 저장하여 실행 유도

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, 권한 및 입력값 검증 로직이 포함된 패치를 적용하십시오.

🔧 검증 코드

출력된 버전 번호가 1.0.0과 같거나 낮으면 취약한 상태입니다.

Shell / Script
wp plugin list --name wp-gdpr-cookie-consent --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