CVE-2026-120571: Maps Plugin using Google Maps for WordPress <= 1.9.9 - Authenticated (Subscriber+) SQL Injection via 'categories' JSON Import Object Keys
The Maps Plugin using Google Maps for WordPress - WP Google Map plugin for WordPress is vulnerable to SQL Injection via the array keys of the categories entries parsed from an imported JSON file in versions up to, and including, 1.9.9 This is due to the wgmhandleimport() function sanitizing only the known-named VALUES (name, icon) of each category object while passing the attacker-controlled JSON object KEYS directly to $wpdb->insert(), which interpolates them as column names into the generated INSERT statement without escaping embedded backticks. This makes it possible for authenticated attackers, with Subscriber-level access and above (when the plugin's own 'Minimum Role for Map Editor' setting has been configured to 'Subscriber', one of five values the plugin's settings UI offers), to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database, including administrator password hashes.
Affected Software
Event History
Frequently Asked Questions
Which sites are exposed to Subscriber-level exploitation?
Subscriber-level users can exploit the issue only when the plugin's “Minimum Role for Map Editor” setting is configured to Subscriber. This setting is one of five role values offered by the plugin UI; the provided information does not establish that Subscriber is the default.
What does an attacker need to exploit this vulnerability?
An attacker needs an authenticated WordPress account with at least Subscriber privileges under the applicable map-editor role configuration. They must be able to supply an imported JSON file containing crafted keys in categories entries.
What data could be exposed?
The SQL injection can be used to extract sensitive database information. The advisory specifically identifies administrator password hashes as an example.