SQL injection in WP Google Map plugin via categories JSON import
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
The Maps Plugin using Google Maps for WordPress by milonfci is affected through 1.9.9. The wgm_handle_import() function passes JSON object keys from an imported file into a database insert without escaping backticks, enabling SQL injection (CWE-89). An authenticated attacker with Subscriber access can append SQL queries to existing ones and extract database data, including administrator password hashes, when the Minimum Role for Map Editor setting is Subscriber.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for Maps Plugin using Google Maps for WordPress (WP Google Map).
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-120571
- 2026-11-27 Alias added: GHSA-pjx2-pgvw-72wq
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d8ccfc35-2a10-4cd8-a7b8-67874b3e6d03?source=cve
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Traits/ImportExport.php#L373
- 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#L14
- https://plugins.trac.wordpress.org/browser/gmap-embed/tags/1.9.7/includes/Classes/Bootstrap.php#L46
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed
- https://plugins.trac.wordpress.org/changeset/3813974/gmap-embed/trunk/includes/Traits/ImportExport.php
Sources
- CVE-2026-120571 · CVE Program
- CVE-2026-120571 · NVD
- FIRST EPSS
- GHSA-pjx2-pgvw-72wq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences