WP Google Map <= 1.9.9 - Authenticated (Custom+) SQL Injection via JSON Import Categories
- ID
- WPSEC-2026-3676
- Plugin
- Maps Plugin using Google Maps for WordPress – WP Google Map (gmap-embed)
- Affected
- from 1.9.5 before 2.0.0
- Remediation
- Update to 2.0.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-89
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-21
- Attack surface
- WP Google Map on WPSec AttackSurface
- Fix released
- Published
Description
The WP Google Map plugin for WordPress is vulnerable to SQL Injection via the categories in imported JSON files in versions 1.9.5 up to, and including, 1.9.9. This is due to each category object from the uploaded file being passed to $wpdb->insert() without restricting its keys, so crafted object keys are placed unescaped in the query's column list. This makes it possible for authenticated attackers with access to the plugin's map management to inject SQL into queries and extract sensitive information from the database. By default these are administrators, which matters on multisite networks where a site administrator is not a super admin. When a site owner lowers the plugin's 'Minimum Role for Map Edit' setting, users of that role, down to Subscriber, can exploit it too.
References
- https://wpsec.com/vuln/WPSEC-2026-3676/
- https://plugins.svn.wordpress.org/gmap-embed/tags/2.0.0/
- https://wordpress.org/plugins/gmap-embed/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS