Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.4CVE-2026-135618

CVE-2026-135618: Extensions for Leaflet Map <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'extraclasses' Shortcode Attribute

hupe13 Extensions for Leaflet Map

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135618: medium-severity vulnerability (CVSS 6.4) in hupe13 Extensions for Leaflet Map.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.4.

Affected products and versions

hupe13 Extensions for Leaflet Map <= 6.2.1

ProductVersionsFixed in
hupe13 Extensions for Leaflet Map<= 6.2.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Preliminary advisory published.