CVE-2026-135618
JSON

6.4medium

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

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
hupe13 Extensions for Leaflet Mapup to 6.2.1CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135618 changed 2026-11-27CVE Terms of Use
NVDCVE-2026-135618 changed 2026-11-27Public domain