Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-120571: medium-severity vulnerability (CVSS 5.3) in milonfci Maps Plugin using Google Maps for WordPress – WP Google Map.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
milonfci Maps Plugin using Google Maps for WordPress – WP Google Map <= 1.9.9
| Product | Versions | Fixed in |
|---|---|---|
| milonfci Maps Plugin using Google Maps for WordPress – WP Google Map | <= 1.9.9 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d8ccfc35-2a10-4cd8-a7b8-67874b3e6d03?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L373 — CVE Program
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L338 — CVE Program
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L14 — CVE Program
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Classes/Bootstrap.php#L46 — CVE Program
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed — CVE Program
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed/trunk/includes/Traits/ImportExport.php — CVE Program
Weaknesses (CWE): CWE-89
Relevant change history
Published
Preliminary advisory published.