Description
The WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'location_messages' parameter in all versions up to, and including, 4.9.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the attacker to hold the custom wpgmp_manage_location capability, which is granted to administrators by default but can be assigned to lower-privileged roles via the plugin's Permissions screen.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-05-26: | Vendor Notified |
| 2026-06-05: | Disclosed |
Credits
Yousef Alraddadi
References
www.wordfence.com/...-a18a-44e2-9478-7189f9777198?source=cve
plugins.trac.wordpress.org/.../shortcode/views/put-wpgmp.php
plugins.trac.wordpress.org/...es/location/model.location.php
plugins.trac.wordpress.org/.../shortcode/views/put-wpgmp.php
plugins.trac.wordpress.org/...es/location/model.location.php
plugins.trac.wordpress.org/...p-plugin&sfp_email=&sfph_mail=