🔍 CVE-2026-6642

6.4
CVSS Score
MEDIUM
2026-09-11
2026-09-11 21:17
✅ 완료

🇰🇷 한글 설명

WordPress의 Media Library Assistant 플러그인 3.35 이하 버전에서 일괄 편집 프리셋 내보내기/가져오기 메커니즘을 통한 저장형 XSS 취약점이 발견되었습니다. 프리셋 필드 값을 HTML 속성 컨텍스트에서 렌더링할 때 출력 이스케이프 처리가 미흡하여, 공격자가 악성 스크립트를 삽입할 수 있습니다. 이를 통해 권한이 있는 공격자가 관리자가 오염된 프리셋을 가져올 때 임의의 스크립트를 실행시킬 수 있습니다.

💡 쉬운 설명

플러그인의 설정 저장 기능을 악용하여 악성 코드를 숨겨두는 공격입니다. 관리자가 해당 설정을 불러오기만 해도 공격자가 심어놓은 해킹 스크립트가 관리자의 브라우저에서 실행될 수 있습니다.

🇺🇸 원문 (English)

The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the bulk edit preset export/import mechanism in versions up to and including 3.35. This is due to insufficient output escaping on preset field values when they are rendered in HTML attribute contexts in the mla_generate_bulk_edit_form_fieldsets() function and mla-bulk-edit-fieldsets.tpl template. While wp_kses() filtering is applied during preset export for users without unfiltered_html capability, this does not prevent attribute injection attacks since the malicious payload consists of quotes and HTML attributes rather than HTML tags. When preset values are retrieved and rendered, they are directly assigned to template variables without esc_attr() escaping and then inserted into input element value attributes via simple string replacement. This makes it possible for authenticated attackers, with Author-level access and above (upload_files capability), to inject arbitrary web scripts that execute when an administrator imports the poisoned preset and the targeted input field receives focus.

📍 영향받는 시스템

WordPress Media Library Assistant plugin versions up to and including 3.35

⚔️ 공격 벡터

권한을 가진 공격자가 악성 속성이 포함된 프리셋을 생성하여 배포하고, 관리자가 이를 가져오도록 유도함

🛡️ 대응 방법

Media Library Assistant 플러그인을 최신 버전으로 업데이트하거나, 해당 취약점이 해결된 패치를 적용하십시오.

🔧 검증 코드

출력된 결과의 버전이 3.35 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
wp plugin list --name media-library-assistant --format=csv | grep -E 'media-library-assistant'

📊 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