CVE-2026-120571

Maps Plugin using Google Maps for WordPress <= 1.9.9 - Authenticated (Subscriber+) SQL Injection via 'categories' JSON Import Object Keys

2026-11-25 23:58
Kuba

Strategic Overview

Status
Patched in 2.0.0
Affected Version
<= 1.9.9
CVSS
5.3Medium
Weakness type
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command
CVE
CVE-2026-120571
View all Maps Plugin using Google Maps for WordPress – WP Google Map vulnerabilities

At a glance

CVE-2026-120571 is a medium-severity Improper Neutralization of Special Elements used in an SQL Command vulnerability in the Maps Plugin using Google Maps for WordPress WordPress plugin, affecting versions <= 1.9.9. It carries a CVSS score of 5.3 (reachable over the network; high confidentiality impact). Exploitation requires an authenticated account at Subscriber level or above. The issue is fixed in version 2.0.0; sites on affected versions should update now. Disclosed November 2026, reported by Kuba.

Vulnerability Overview

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.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

CWE-89: Improper Neutralization of Special Elements used in an SQL Command

Maps Plugin using Google Maps for WordPress <= 1.9.9 carries this weakness at Subscriber, and reaching it takes an account at Subscriber level or above. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.

A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For Maps Plugin using Google Maps for WordPress the fix is 2.0.0: builds <= 1.9.9 are affected, anything from 2.0.0 onward is not.

Remediation

Update to version 2.0.0, or a newer patched version

How does WordSec protect against this?

An attacker needs Subscriber access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Maps Plugin using Google Maps for WordPress 2.0.0 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C