CVE-2026-135618 Cross-site scripting in Extensions for Leaflet Map

Published Updated

Contributor-level users can inject stored scripts via shortcode attributes in the Extensions for Leaflet Map WordPress plugin.

CVSS score

Medium

6.4/10

CVSS 3.1 · Scored by Wordfence Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135618?

CVE-2026-135618 is a medium-severity cross-site scripting vulnerability in hupe13 Extensions for Leaflet Map, published on 27 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-79

How severe is CVE-2026-135618?

CVE-2026-135618 scores 6.4 out of 10 under CVSS 3.1, which is medium severity. It was scored by Wordfence.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Which versions are affected by CVE-2026-135618?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-135618?

No fix has been published for CVE-2026-135618 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-135618 being exploited?

There is no known exploitation of CVE-2026-135618 in the wild and no public exploit code.

Sources

Also known as GHSA-8w3x-wc53-77mh.

Is CVE-2026-135618 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free