# OSM Map Widget for Elementor <= 1.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Marker Button URL

- **ID:** WPSEC-2026-3216
- **Plugin:** OSM Map Widget for Elementor (`osm-map-elementor`), https://wordpress.org/plugins/osm-map-elementor/
- **Affected versions:** all versions before 1.4.0
- **Fixed in:** 1.4.0 (Update to 1.4.0 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/osm-map-elementor
- **Fix released:** 2026-11-15
- **Published:** 2026-11-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3216/

## Description

The OSM Map Widget for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the map marker Button URL setting in all versions up to, and including, 1.3.1. This is due to insufficient validation of the URL scheme and missing output escaping: the client-side URL helper returned any URL that the browser could parse, including javascript: URLs, without HTML-escaping it before placing it in the button's href attribute. This makes it possible for authenticated attackers with contributor-level access and above who can edit with Elementor to inject arbitrary web scripts in pages that execute when a user clicks the marker popup button on the injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3216/
- https://plugins.svn.wordpress.org/osm-map-elementor/tags/1.4.0/
- https://wordpress.org/plugins/osm-map-elementor/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3216/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
