Descrizione
The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'overview-latlng' parameter in all versions up to, and including, 6.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by Author-level users because WordPress does not apply kses filtering to post custom fields on save, allowing raw HTML payloads such as event-handler attributes to be stored verbatim and later reflected through the unescaped debug output path.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.4.
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://downloads.wordpress.org/plugin/extensions-leaflet-map.6.3.zip
- Riferimentohttps://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/functions.php#L146
- Riferimentohttps://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/overview-map.php#L396
- Riferimentohttps://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/overview-map.php#L431
- Riferimentohttps://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/overview-map.php#L621
- Riferimentohttps://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/overview-map.php#L685
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/e8da4d07-a331-459b-abc2-16ca86cb6fff?source=cve