Descrizione
The Postie plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'email HTML body' parameter in all versions up to, and including, 1.9.91 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 is exploitable when the processing request runs under a user holding the unfiltered_html capability — either because 'Force User Login' is enabled and Postie switches to the default poster, or because an administrator manually triggers the fetch — causing wp_filter_post_kses to be stripped from content_save_pre and the attribute-breakout markup to be stored verbatim by wp_insert_post().
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.4, EPSS 0.5% (percentile 36).
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/postie/tags/1.9.88/postie-message.php#L1306
- Riferimentohttps://plugins.trac.wordpress.org/browser/postie/tags/1.9.88/postie-message.php#L388
- Riferimentohttps://plugins.trac.wordpress.org/browser/postie/tags/1.9.88/postie-message.php#L733
- Riferimentohttps://plugins.trac.wordpress.org/browser/postie/tags/1.9.88/postie-message.php#L80
- Riferimentohttps://plugins.trac.wordpress.org/browser/postie/tags/1.9.88/postie-message.php#L83
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3819030
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3819030/postie/trunk/postie-message.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/7a6db0d7-5f8e-44ae-a918-e8336bced3aa?source=cve