Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level account
-
DeliverySubmit page with crafted marker shortcode
-
ExploitDouble quote survives wp_kses_post sanitization
-
ExecutionInjected event handler written into Leaflet marker HTML
-
ImpactVictim views page, script executes in their session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account with at least contributor-level privileges (CVSS PR:L) on a WordPress site running the Extensions for Leaflet Map plugin ≤6.2.1, and the attacker must be able to insert the plugin's marker shortcode with a malicious 'extraclasses', 'icon', 'iconcolor', or 'number' attribute value into stored content. Payload delivery needs no HTML tags - a bare double quote is sufficient because wp_kses_post preserves it and Leaflet.ExtraMarkers rebuilds inner HTML where the quote closes the attribute. Execution is deferred until a victim user views the injected page (no interaction from the attacker at trigger time, but a viewer is required). Limiting factors: the contributor-access prerequisite (sites that do not grant untrusted users content-authoring roles are not exposed to untrusted-attacker abuse), dependence on the plugin being installed and its marker shortcode rendered, and the need for a victim to load the affected page. |
| Impact | This is a medium-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reported by Wordfence and assigned the 'this_month' priority rather than an act_now/emergency label, which is consistent with a real-but-not-urgent issue. The vector confirms network reach and low attack complexity, but PR:L means exploitation requires an authenticated contributor-level (or higher) account, which meaningfully narrows the attacker population to sites that provision such accounts to untrusted users. No EPSS score, SSVC automatable/technical-impact values, or KEV listing are present in the input, so there is no evidence of active exploitation or mass-automatable attack; absence of these signals is not proof of safety but does argue against widespread opportunistic exploitation. The reference set includes a Wordfence advisory and WordPress trac source lines pinpointing the sanitization gap, but none is verified working exploit code. Net: a legitimate issue to patch on a normal cadence (fix available in 6.3), not a drop-everything emergency, with the contributor-access precondition as the primary mitigating factor. |
| Exploit ScenarioDerived | An attacker holding a contributor-level account on a site running Extensions for Leaflet Map (≤6.2.1) submits content containing the plugin's marker shortcode with a crafted 'extraclasses' (or 'icon', 'iconcolor', 'number') attribute value; because wp_kses_post preserves the bare double quote and the value is later reconstituted into Leaflet.ExtraMarkers inner HTML, a single-quoted attribute value closes the HTML attribute and injects an attacker-controlled event handler. The script then executes in the browser of any user - including higher-privileged editors or administrators - who views the page containing the injected marker. A public PoC reference is not provided; the Wordfence and trac links document the flaw but are not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
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.
RemediationAI
Upgrade the plugin to version 6.3, which is published in the plugin distribution referenced alongside the advisory (https://downloads.wordpress.org/plugin/extensions-leaflet-map.6.3.zip) and supersedes the vulnerable 6.2.1 tag; sites on 6.2.1 or earlier should update and then review stored content for marker shortcodes containing suspicious 'extraclasses', 'icon', 'iconcolor' or 'number' attribute values. Where upgrading is not immediately possible, the practical exposure reduction is to remove contributor-and-above authoring rights from untrusted accounts, since the CVSS vector requires PR:L and this flaw cannot be reached by an unauthenticated attacker - the trade-off is that legitimate contributor workflows must be suspended or moved to a trusted role. Disabling or deactivating the Extensions for Leaflet Map plugin removes the sink entirely but also removes all map marker functionality from the site. Because execution is deferred until a victim loads the injected page, reviewing and cleaning existing posts, revisions and pending submissions is necessary even after the plugin is patched, otherwise stored payloads remain in the database. See https://www.wordfence.com/threat-intel/vulnerabilities/id/cbe5d3b5-4384-4cca-95ee-9c9145546c35?source=cve for the vendor advisory details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The plugin is a WordPress extension for the Leaflet JavaScript mapping library that renders markers through shortcodes whose 'extraclasses', 'icon', 'iconcolor' and 'number' attributes are passed into the front-end marker configuration. The root cause is CWE-79 (improper neutralization of input during web page generation), specifically a context mismatch between the sanitizer applied at input time and the sink that consumes the value. wp_kses_post is a tag-oriented HTML filter and therefore leaves a bare double quote untouched, since no HTML tags are required in the payload; wp_json_encode correctly escapes the value for the JavaScript string-literal layer, but the reconstituted double quote becomes active again when Leaflet.ExtraMarkers (leaflet.extra-markers.min.js) builds its inner HTML, closing the single-quoted shortcode attribute and permitting injection of attacker-chosen event handlers. The affected code paths are referenced in the plugin source at php/extramarker.php (around lines 177, 204 and 251) and php/functions.php line 43. The CPE cpe:2.3:a:hupe13:extensions_for_leaflet_map:*:*:*:*:*:*:*:* designates the hupe13 vendor package, with all branches up to and including 6.2.1 affected.
Know when Extensions For Leaflet Map gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Network-reachable shortcode input with low complexity; PR:L for required contributor account, UI:N at store time, S:C and C:L/I:L as injected script runs in other users' browser context, A:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'extraclasses (also icon, iconcolor, number)' 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. The existing sanitization is ineffective for this context: wp_kses_post preserves bare double quotes (no HTML tags are required in the payload), and wp_json_encode correctly escapes the value for the JavaScript string-literal layer but the reconstituted double quote remains live when Leaflet.ExtraMarkers builds its inner HTML, allowing a single-quoted shortcode attribute value to close the HTML attribute and inject attacker-controlled event handlers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Extensions for Leaflet Map Stored XSS
View all 2More in Extensions For Leaflet Map
View allStored/DOM-based cross-site scripting in the hupe13 "Extensions for Leaflet Map" WordPress plugin (all versions up to an
Stored Cross-Site Scripting in Extensions for Leaflet Map plugin for WordPress allows authenticated attackers with Contr
Unauth. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low at
Stored DOM-based cross-site scripting in the Extensions for Leaflet Map WordPress plugin through 5.4 lets unauthenticate
EUVD-2026-136968
GHSA-8w3x-wc53-77mh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB