# WP Go Maps – Google Map, OpenStreetMap, Leaflet Map <= 10.1.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via Map and Store Locator Block Attributes

- **ID:** WPSEC-2026-3079
- **Plugin:** WP Go Maps – Google Map, OpenStreetMap, Leaflet & Store Locator (`wp-google-maps`), https://wordpress.org/plugins/wp-google-maps/
- **Affected versions:** from 7.11.17 before 10.1.11
- **Fixed in:** 10.1.11 (Update to 10.1.11 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-13)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-google-maps
- **Fix released:** 2026-11-12
- **Published:** 2026-11-13
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3079/

## Description

The WP Go Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gutenberg map and store locator block attributes in all versions up to, and including, 10.1.10, due to insufficient input sanitization and output escaping. The block render callbacks build a [wpgmza] shortcode string from attribute names and values. Values were only passed through addslashes() and names were not validated, so a value containing ] could close the shortcode early and leave attacker-supplied markup in the rendered page. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-3079/
- https://plugins.svn.wordpress.org/wp-google-maps/tags/10.1.11/
- https://wordpress.org/plugins/wp-google-maps/

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

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.
