Descrizione
The WP Optin Wheel – Gamified Optin Email Marketing Tool for WordPress and WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_fields[].value (XML-RPC wp.newPost -> post meta 'options' -> JSON->theme)' parameter in all versions up to, and including, 1.5.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is stored via the XML-RPC wp.newPost endpoint, which bypasses Admin_Controller::sanitize_options() entirely because the CPT inherits default 'post' capabilities, making any Author-level account sufficient to write the malicious 'theme' value.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.4% (percentile 25).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/admin/views/all_wheels.php#L16
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/class-wheel-of-fortune.php#L155
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/controllers/class-admin-controller.php#L142
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/services/class-wheel-service.php#L114
- Riferimentohttps://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/services/class-wheel-service.php#L229
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3815170/wp-optin-wheel/trunk/admin/views/all_wheels.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/c71171f3-fc03-45bc-b78b-c41e36059bd4?source=cve