CVE-2026-120571

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

Published Nov 26, 2026 CVSS 3.1 · 5.3 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title Maps Plugin using Google Maps for WordPress <= 1.9.9 - Authenticated (Subscriber+) SQL Injection via 'categories' JSON Import Object Keys
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 26, 2026, 12:35 PM
Reserved
Nov 2, 2026, 4:39 PM

No data.