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

Published Nov 27, 2026
·
Updated

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: wpksespost preserves bare double quotes (no HTML tags are required in the payload), and wpjsonencode 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 Software

1 affected component
Extensions for Leaflet Map<=6.2.1

Event History

Nov 27, 2026
CVE Published
via MITRE·02:33 AM
Data Sourced
via MITRE·02:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated WordPress user with Contributor-level access or higher can exploit it. The attacker must be able to add a shortcode using one of the affected parameters: extraclasses, icon, iconcolor, or number.

2

When does the injected script execute?

The payload is stored in an affected page and executes whenever another user accesses that page. Exploitation does not require interaction beyond viewing the injected page.

3

Are sites affected if untrusted users cannot create or edit content?

The described attack requires authenticated Contributor-level access or above. Sites that do not grant such access to untrusted users have reduced exposure, although compromised accounts with those privileges could still be used.

4

How can I identify potentially affected content?

Review pages created or edited by Contributor-or-higher users for Extensions for Leaflet Map shortcodes using extraclasses, icon, iconcolor, or number attributes. Pay particular attention to attribute values containing quotes or unexpected event-handler-like content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203