CVE-2026-120571
published medium CVSS 3.1 · 5.3Maps Plugin using Google Maps for WordPress <= 1.9.9 - Authenticated (Subscriber+) SQL Injection via 'categories' JSON Import Object Keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| milonfci | — | Maps Plugin using Google Maps for WordPress – WP Google Map0 through 1.9.9 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| milonfci | Maps Plugin using Google Maps for WordPress – WP Google Map | 0 through 1.9.9 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
7- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Classes/Bootstrap.php#L46
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L14
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L338
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L373
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed/trunk/includes/Traits/ImportExport.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d8ccfc35-2a10-4cd8-a7b8-67874b3e6d03?source=cve
Provider assertions
2Wordfence · cna
Maps Plugin using Google Maps for WordPress <= 1.9.9 - Authenticated (Subscriber+) SQL Injection via 'categories' JSON Import Object Keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 82b05a551868a275640445a9dfb0fab6fe4af0043d686f27c2cee0fb54965d0d
- Ingested
- 01 Dec 2026, 19:45:56 UTC
- Source record
- Official CVE record