🔍 CVE-2026-7232

7.2
CVSS Score
HIGH
2026-07-23
2026-07-23 15:14
✅ 완료

🇰🇷 한글 설명

WordPress의 FormCraft 플러그인 3.9.14 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 미흡과 출력 이스케이프 처리 오류로 인해 인증되지 않은 공격자가 악성 스크립트를 삽입할 수 있습니다. 특히 매트릭스 하위 필드 키에 대한 검증 누락과 DOMPurify 우회, HTML 엔티티 복원 과정의 결함이 결합되어 발생합니다.

💡 쉬운 설명

해커가 게시물에 몰래 악성 코드를 심어두면, 일반 사용자가 해당 페이지를 방문할 때 코드가 자동으로 실행되어 정보를 탈취할 수 있습니다. 플러그인이 데이터를 저장하고 보여주는 과정에서 보안 검사를 제대로 하지 않아 발생하는 문제입니다.

🇺🇸 원문 (English)

The FormCraft plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '[parameter name]' parameter in all versions up to, and including, 3.9.14 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit chain combines a server-side gap — where composite matrix sub-field keys such as field2_0 and field2_1 are never passed through the sanitization loop and are stored raw via $wpdb->insert() — with a client-side gap where DOMPurify is only invoked when typeof field.value === 'string', but matrix values arrive from the server as arrays, bypassing the check before being mapped to strings and injected into the DOM. Additionally, the same sink is reachable via a second attack vector: array-typed field values are passed through htmlentities() on submission but later reversed by html_entity_decode() at formcraft-main.php:2608 and :2122, restoring the malicious payload before storage and rendering.

📍 영향받는 시스템

WordPress FormCraft plugin (version 3.9.14 and below)

⚔️ 공격 벡터

인증되지 않은 공격자가 매트릭스 필드 파라미터를 통해 악성 스크립트를 삽입하여 서버에 저장

🛡️ 대응 방법

FormCraft 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 결과에서 FormCraft 플러그인의 버전이 3.9.14 이하인지 확인하십시오.

Shell / Script
wp plugin list --status=active | grep -i 'formcraft'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring AI Vector Store