Descrizione
The Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'nickname' parameter in all versions up to, and including, 4.20.0 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. This is possible because sanitize_text_field() passes entity-encoded sequences such as < and > through unchanged, allowing a Subscriber to store a breakout payload in their WordPress nickname that is later decoded into live HTML markup by wp_localize_script() and injected into the DOM via jQuery's replaceWith().
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.4% (percentile 31).
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/publishpress-authors/tags/4.18.0/src/assets/js/multiple-authors.js#L967
- Riferimentohttps://plugins.trac.wordpress.org/browser/publishpress-authors/tags/4.18.0/src/core/Classes/Objects/Author.php#L637
- Riferimentohttps://plugins.trac.wordpress.org/browser/publishpress-authors/tags/4.18.0/src/core/Classes/Utils.php#L1528
- Riferimentohttps://plugins.trac.wordpress.org/browser/publishpress-authors/tags/4.18.0/src/core/Plugin.php#L1625
- Riferimentohttps://plugins.trac.wordpress.org/browser/publishpress-authors/tags/4.18.0/src/core/Plugin.php#L1701
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3809786%40publishpress-authors&new=3809786%40publishpress-authors
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/47512054-1e72-46ff-a604-4f48dea5f652?source=cve