Description
The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'feature.properties[<template-token>]' parameter in all versions up to, and including, 5.4 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. Exploitation requires that a site administrator has previously configured a public map using the [leaflet-map]+[leaflet-geojson]+[choropleth] shortcode combination whose GeoJSON src URL is one the attacker controls — for example, through compromise of an external data host, a subdomain takeover, or a site intentionally pointing at an attacker-hosted feed.
References6
- downloads.wordpress.org/plugin/extensions-leaflet-map.6.0.zip
- plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/…
- plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/…
- plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/…
- plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/…
- www.wordfence.com/threat-intel/vulnerabilities/id/00c5eb87-3e08…
Metrics
- CVSS 3.1
-
5.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 28 · as of 3 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.