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

Medium 6.4 CWE-79Fixed in 10.1.11
ID
WPSEC-2026-3079
Plugin
WP Go Maps – Google Map, OpenStreetMap, Leaflet & Store Locator (wp-google-maps)
Affected
from 7.11.17 before 10.1.11
Remediation
Update to 10.1.11 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-13
Attack surface
WP Go Maps – Google Map, OpenStreetMap, Leaflet Map on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0