Skip to content
Laskyr

CVE-2026-120571: Maps Plugin using Google Maps for WordPress SQL injection vulnerability

published 2026-11-26

5.3 Medium CVSS 3.1

Fixed in Maps Plugin using Google Maps for WordPress 2.0.0 (first release after the affected range)

Maps Plugin using Google Maps for WordPress 1.9.9 and older is affected by this SQL injection issue. Sites on 2.0.0 or newer are not affected; the latest release is 2.0.0.

Affected versions
1.9.9 and older
Fixed in
2.0.0 *
Latest version
2.0.0
Active installs
10,000+
Type
SQL injection

* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.

What to do now

  1. Update Maps Plugin using Google Maps for WordPress to 2.0.0 or newer: Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. Not sure which version you run? Check your version against every known Maps Plugin using Google Maps for WordPress issue. With WP-CLI: wp plugin get gmap-embed --field=version.
  5. If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.

Is your site exposed to CVE-2026-120571?

  1. Are you on an affected version? Compare your Maps Plugin using Google Maps for WordPress version with every known issue on record. Check my version
  2. Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
  3. Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works

What an attacker needs

Technical details

Weakness

SQL injection CWE-89

Input is built into a database query in a way that lets it change what the query does.

Depending on the query, an attacker can read data they should not see, such as user records or password hashes, and sometimes change it.

General description of this issue type. The advisory below covers this bug.

CVSS 3.1 breakdown

Attack vector
Network (remote)
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

The advisory

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 wgm_handle_import() 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.

Description from the CVE record, published by Wordfence (the CVE Numbering Authority), via the NVD entry for CVE-2026-120571.

References

How Laskyr cleans up a site hacked through Maps Plugin using Google Maps for WordPress

We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.

Related

Ran an affected version? Run the free scan for signs of a hack.

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.