🔍 CVE-2026-75834

5.4
CVSS Score
MEDIUM
2026-08-18
2026-10-22 22:10
✅ 완료

🇰🇷 한글 설명

Grav 2.0.14 미만 버전의 Security::detectXss() 함수에서 저장형 XSS 취약점이 발견되었습니다. 잘못된 UTF-8 바이트를 삽입하면 XSS 탐지 패턴이 모두 무력화되어 보안 검사를 우회할 수 있습니다. 페이지 편집 권한이 있는 인증된 공격자가 악성 자바스크립트를 저장하여 방문자의 브라우저에서 실행될 수 있습니다.

💡 쉬운 설명

웹사이트 관리 권한이 있는 사람이 특수하게 조작된 문자를 입력하면 보안 검사기가 작동을 멈추는 버그가 있습니다. 이를 통해 해커가 몰래 악성 코드를 심어 방문자의 정보를 훔칠 수 있습니다.

🇺🇸 원문 (English)

Grav before 2.0.14 contains a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). All XSS detection patterns use the PCRE /u (UTF-8) modifier, so a single invalid UTF-8 byte anywhere in page content causes preg_match() to return false for every pattern, silently bypassing the save-time XSS safety gate (Validation::checkSafety()). An authenticated attacker with page-edit permissions (without the security.xss_whitelist privilege) can store malicious JavaScript that executes in the browser of a visitor who views the affected page.

📍 영향받는 시스템

Grav CMS versions before 2.0.14

⚔️ 공격 벡터

페이지 편집 권한을 가진 공격자가 유효하지 않은 UTF-8 바이트를 포함한 악성 스크립트를 저장하여 실행

🛡️ 대응 방법

Grav CMS를 2.0.14 버전 이상으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 2.0.14 미만인지 확인하십시오.

Shell / Script
composer show grav/core | grep 'versions'

📊 CVSS Vector String

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