Descrizione
The Custom Twitter Feeds – A Tweets Widget or X Feed Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'atts (JSON object, specifically the inner `feed` key)' parameter in all versions up to, and including, 2.11.1 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. The injected payload is first stored in the wp_ctf_feed_caches database table and later written into the ctf_cron_report WordPress option by the scheduled ctf_feed_update cron job, meaning execution is deferred until the cron runs and an administrator subsequently loads the Support page.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.2, EPSS 0.5% (percentile 41).
Versioni da aggiornare
- smub Custom Twitter Feeds – A Tweets Widget or X Feed Widget: vulnerabili le versioni fino alla
2.11.1inclusa → aggiornare a una release successiva alla2.11.1.
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| smub | Custom Twitter Feeds – A Tweets Widget or X Feed Widget | ≤ 2.11.1 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/admin/views/support/content.php#L123
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/inc/Admin/CTF_Support.php#L554
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/inc/CtfCache.php#L179
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/inc/CtfFeed.php#L1072
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/inc/SB_Twitter_Cron_Updater.php#L47
- Riferimentohttps://plugins.trac.wordpress.org/browser/custom-twitter-feeds/tags/2.10.0/inc/ctf-functions.php#L207
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3799152%40custom-twitter-feeds&new=3799152%40custom-twitter-feeds
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/03101d34-112b-4508-9aca-ade87c7a8853?source=cve