🇰🇷 한글 설명
WPForms 플러그인의 OptinMonster 통합 기능에서 입력값 검증 및 출력 이스케이프 미흡으로 인해 저장형 XSS 취약점이 발생합니다. 권한을 가진 공격자가 게시물 콘텐츠 내 data-sitekey 속성에 악성 스크립트를 삽입하여 사용자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
웹사이트 관리자 권한을 가진 사람이 게시물에 몰래 악성 코드를 심어둘 수 있는 보안 약점입니다. 이 코드는 특정 조건에서 일반 방문자가 페이지를 열 때 자동으로 실행되어 정보를 탈취할 수 있습니다.
🇺🇸 원문 (English)
The WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More plugin for WordPress is vulnerable to Stored Cross-Site Scripting via OptinMonster Integration data-sitekey Attribute in Post Content in all versions up to, and including, 2.0.0.1 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. Exploitation requires the OptinMonster plugin to be installed and configured with an active inline campaign that outputs matching #om-{id} markup on the target page, as the WPForms handler only fires when OptinMonster emits its 'om.Campaign.load' event.
📍 영향받는 시스템
WPForms 플러그인 2.0.0.1 이하 모든 버전 (OptinMonster 플러그인 설치 및 설정 필요)
⚔️ 공격 벡터
Contributor 이상의 권한을 가진 공격자가 게시물 내 OptinMonster 관련 속성에 악성 스크립트 삽입
🛡️ 대응 방법
WPForms 플러그인을 최신 버전으로 업데이트하고 입력값 검증 로직을 강화하십시오.
🔧 검증 코드
출력된 WPForms의 버전이 2.0.0.1 이하인지 확인하십시오.
wp plugin list --name wpforms | grep -E 'wpforms'