🇰🇷 한글 설명
PhotoSwipe WordPress 플러그인 4.1.1.1 버전에서 링크 마크업의 title 속성이 이스케이프 처리 없이 DOM에 작성되는 취약점이 발견되었습니다. 이로 인해 unfiltered_html 권한이 없는 작성자(Author) 권한의 사용자가 악성 자바스크립트를 삽입하여 관리자를 포함한 방문자의 브라우저에서 코드를 실행할 수 있습니다.
💡 쉬운 설명
글 작성자가 링크에 몰래 악성 코드를 숨겨둘 수 있는 보안 구멍이 발견되었습니다. 관리자가 해당 링크를 클릭하면 작성자가 심어놓은 해킹 코드가 관리자의 브라우저에서 실행될 수 있습니다.
🇺🇸 원문 (English)
The PhotoSwipe WordPress plugin through 4.1.1.1 uses the title attribute of author-supplied link markup as a lightbox caption that is written into the page DOM without escaping. Because the title attribute survives the post-content sanitization applied to users who lack the unfiltered_html capability, an authenticated user with Author-level access can store a JavaScript payload that executes in the browser of any visitor, including an administrator, who clicks the link.
📍 영향받는 시스템
PhotoSwipe WordPress plugin version 4.1.1.1 and below
⚔️ 공격 벡터
권한이 있는 사용자가 링크의 title 속성에 악성 스크립트를 삽입하여 저장한 후, 관리자가 해당 링크를 클릭하도록 유도
🛡️ 대응 방법
PhotoSwipe 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 photoswipe 플러그인의 버전이 4.1.1.1 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'photoswipe'