← VULNERABILITIES

CVE-2026-135618

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

Medium · 6.4
CVSS
6.4
EPSS
0.35% (p21)
Published
2026-11-27
Age
2d old
Modified
2026-11-27
Product
hupe13 Extensions for Leaflet Map

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

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.

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON