Descrizione
The Redux Framework plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '<opt_name>[<color-field-id>]' parameter in all versions up to, and including, 4.5.17 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The wp_kses_post() sanitization applied via Redux_Helpers::sanitize_array() is bypassed — not broken — because an <a class="thickbox" title="&lt;img onerror=...&gt;"> payload uses only kses-allowed tags and attributes, with the entity-encoded onerror handler surviving storage as inert text that the browser decodes when WordPress core's thickbox.js reads the title attribute and writes it into the modal as HTML. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.4, EPSS 0.4% (percentile 26).
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://github.com/reduxframework/redux-framework/pull/4130/
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/assets/js/redux/notices.js#L149
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/assets/js/redux/notices.js#L151
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/inc/extensions/users/class-redux-extension-users.php#L1022
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/inc/extensions/users/class-redux-extension-users.php#L484
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/inc/extensions/users/class-redux-extension-users.php#L976
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/inc/validation/color/class-redux-validation-color.php#L34
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.17/redux-core/inc/validation/color/class-redux-validation-color.php#L50
- Riferimentohttps://plugins.trac.wordpress.org/browser/redux-framework/tags/4.5.18/redux-core/inc/validation/color/class-redux-validation-color.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/f761acd2-61bf-4d35-b79c-db805e52e095?source=cve