What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
WP Maps versions up to 4.9.4 contain a stored cross-site scripting vulnerability that allows high-privilege users to inject malicious scripts. The vulnerability affects the plugin's map configuration or display functionality. When a low-privilege user or visitor views the affected content, the injected script executes in their browser, potentially compromising their session or data.
What an attacker can do
03Attacker Capabilities
Run malicious JavaScript in the browsers of site visitors or other users.
Potential impact on your site
04Site Impact
A compromised admin account could inject scripts that steal visitor data, deface pages, or redirect users to malicious sites.
Conditions required to exploit
05Prerequisites
Attacker must have high-level admin or editor privileges on the WordPress site.
Key dates
06Disclosure timeline
June 6, 2026
CVE published
June 6, 2026
Record updated