Skip to main content

Leaflet Map Extensions CVE-2026-135618

| EUVDEUVD-2026-136968 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-27 Wordfence GHSA-8w3x-wc53-77mh
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level account
  2. Delivery
    Submit page with crafted marker shortcode
  3. Exploit
    Double quote survives wp_kses_post sanitization
  4. Execution
    Injected event handler written into Leaflet marker HTML
  5. Impact
    Victim 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Extensions for Leaflet Map 0 ≤6.2.1

Affected Packages

euvd extensions_for_leaflet_map no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.4%
Top 79% exploitable
Prevalence
Low
niche WordPress mapping plugin, limited and specialized deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy