Descrizione
The Image Hover Effects Ultimate Visual Composer (Flipbox - Awesomes Flip Boxes Image Overlay) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'flip-box-image-upload-url-01-alt' parameter in versions up to, and including, 3.1.1. This is due to the plugin saving the image-alt field through sanitize_text_field() in Inc/Style22::register_child() (and Inc/Style18, 19, 20, 25, 29) — which preserves the double-quote character — and then concatenating the stored value into a double-quoted HTML attribute in Public_Render/Style22::default_render() (and the corresponding Style18/19/20/25/29 renderers) with no esc_attr() escaping. This makes it possible for authenticated attackers, with contributor-level access and above (when an administrator has delegated the plugin's 'Who can edit' capability via the plugin Settings page, or on multisite installations where even administrators lack unfiltered_html), to inject arbitrary web scripts in pages that will execute whenever a user accesses any page containing an affected [oxilab_flip_box] shortcode or block.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.3% (percentile 17).
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/image-hover-effects-ultimate-visual-composer/tags/3.1.0/Inc/Style22.php#L169
- Riferimentohttps://plugins.trac.wordpress.org/browser/image-hover-effects-ultimate-visual-composer/tags/3.1.0/Includes/Admin/Menu.php#L53
- Riferimentohttps://plugins.trac.wordpress.org/browser/image-hover-effects-ultimate-visual-composer/tags/3.1.0/Page/Admin_Render.php#L128
- Riferimentohttps://plugins.trac.wordpress.org/browser/image-hover-effects-ultimate-visual-composer/tags/3.1.0/Public_Render/Style22.php#L58
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3762680%40image-hover-effects-ultimate-visual-composer&new=3762680%40image-hover-effects-ultimate-visual-composer
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/c3403cd6-31ba-4c36-a60e-d3e5c038af78?source=cve