Extensions for Leaflet Map Stored XSS
2026-11-27
Stored cross-site scripting in the Extensions for Leaflet Map WordPress plugin, affecting all versions up to and including 6.2.1, allows an authenticated user with contributor-level access or above to persist an arbitrary HTML/script payload through the 'overview-latlng' parameter and have it execute in the browser of any user who later loads the injected page. The CVSS 3.1 score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network reachability, a low-privilege authenticated requirement, scope change, and low confidentiality and integrity impact. Author-level users can exploit it because WordPress does not apply kses filtering to post custom fields on save, so raw HTML such as event-handler attributes is stored verbatim and surfaced through the plugin's unescaped debug output path; no public exploit identified at time of analysis.
Stored cross-site scripting in the Extensions for Leaflet Map WordPress plugin through version 6.2.1 lets authenticated users with contributor-level access or above plant script payloads in map marker shortcodes that execute for any visitor who later views the affected page. The flaw is not neutralized by the plugin's existing sanitization: a bare double quote survives wp_kses_post and, after wp_json_encode output is re-parsed by Leaflet.ExtraMarkers while it assembles inner HTML, the quote closes the surrounding single-quoted shortcode attribute and allows attacker-controlled event handlers. CVSS 3.1 scores it 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) and Wordfence reporting carries a 'this_month' priority rather than an emergency label; no public exploit code or CISA KEV entry was identified at time of analysis.