# Mapster WP Maps <= 2.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Map Loader Color

- **ID:** WPSEC-2026-1264
- **Plugin:** Mapster WP Maps (`mapster-wp-maps`), https://wordpress.org/plugins/mapster-wp-maps/
- **Affected versions:** all versions before 2.0.6
- **Fixed in:** 2.0.6 (Update to 2.0.6 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 Low, affected versions Low (as of 2026-10-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mapster-wp-maps
- **Fix released:** 2026-10-18
- **Published:** 2026-10-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1264/

## Description

The Mapster WP Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the map loader color and background settings in all versions up to, and including, 2.0.5 due to insufficient output escaping when these map configuration values are printed into HTML attributes by the map shortcode. 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 a page displaying the affected map.

## References

- https://wpsec.com/vuln/WPSEC-2026-1264/
- https://plugins.svn.wordpress.org/mapster-wp-maps/tags/2.0.6/
- https://wordpress.org/plugins/mapster-wp-maps/

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

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.
