Descrizione
The AWP Classifieds plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameter in all versions up to, and including, 4.4.10 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. The injected payload is stored as a literal entity-encoded string in the WordPress display_name field, which esc_html() passes through without re-encoding due to its double_encode=false behavior, allowing the browser to decode it to raw markup before the JavaScript sink consumes it.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4, EPSS 0.4% (percentile 22).
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/another-wordpress-classifieds-plugin/tags/4.4.10/includes/class-users-collection.php#L228
- Riferimentohttps://plugins.trac.wordpress.org/browser/another-wordpress-classifieds-plugin/tags/4.4.10/includes/frontend/class-order-submit-listing-section.php#L184
- Riferimentohttps://plugins.trac.wordpress.org/browser/another-wordpress-classifieds-plugin/tags/4.4.10/resources/js/components/user-selector/user-selector.js#L93
- Riferimentohttps://plugins.trac.wordpress.org/browser/another-wordpress-classifieds-plugin/tags/4.4.10/resources/js/frontend/order-section-controller.js#L251
- Riferimentohttps://plugins.trac.wordpress.org/browser/another-wordpress-classifieds-plugin/tags/4.4.10/resources/js/frontend/submit-listing-data-store.js#L134
- Riferimentohttps://plugins.trac.wordpress.org/browser/another-wordpress-classifieds-plugin/tags/4.4.10/templates/components/user-selector.tpl.php#L29
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3820435%40another-wordpress-classifieds-plugin&new=3820435%40another-wordpress-classifieds-plugin
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/4362407c-bf2f-450d-b14c-8cb8bd42c538?source=cve