Descrizione
The Hydrogen Calendar Embeds plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via ICS Feed Event Fields (SUMMARY/DESCRIPTION/LOCATION) in all versions up to, and including, 3.0.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the attacker to have write access to an ICS feed that has been configured as a calendar source on the target WordPress site.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.2.
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/hydrogen-calendar-embeds/tags/3.0.3/includes/class-hycal-ics-proxy.php#L327
- Riferimentohttps://plugins.trac.wordpress.org/browser/hydrogen-calendar-embeds/tags/3.0.3/includes/class-hycal-ics-proxy.php#L428
- Riferimentohttps://plugins.trac.wordpress.org/browser/hydrogen-calendar-embeds/tags/3.0.3/public/js/tippy.js#L116
- Riferimentohttps://plugins.trac.wordpress.org/browser/hydrogen-calendar-embeds/tags/3.0.3/public/js/tippy.js#L196
- Riferimentohttps://plugins.trac.wordpress.org/browser/hydrogen-calendar-embeds/tags/3.0.3/public/js/tippy.js#L60
- Riferimentohttps://plugins.trac.wordpress.org/browser/hydrogen-calendar-embeds/tags/3.0.3/public/js/tippy.js#L88
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3763970%40hydrogen-calendar-embeds&new=3763970%40hydrogen-calendar-embeds
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/4a4ead0a-29ca-46c4-a38d-90e5684b4c54?source=cve