Descrizione
The Coupon Creator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_title' parameter in all versions up to, and including, 3.6.5 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. This vulnerability is only exploitable when an administrator has enabled the 'Disable Print View' option (cctor_hide_print_link), as this setting is required to reach the vulnerable else branch; the default configuration is not affected.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.3% (percentile 19).
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/coupon-creator/tags/3.6.5/src/Cctor/Shortcode.php#L214
- Riferimentohttps://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/src/functions/template-functions/cctor-function-links.php#L10
- Riferimentohttps://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/src/functions/template-functions/cctor-function-links.php#L34
- Riferimentohttps://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.6
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/c7e22c7b-7a84-4492-a986-6c6c5580f93e?source=cve