Skip to content

CVE-2026-3222 WP Maps <= 4.9.1 - Unauthenticated SQL Injection via 'location_id' Parameter

HighCVSS 7.5 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
WordPress

Description

The WP Maps plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'location_id' parameter in all versions up to, and including, 4.9.1. This is due to the plugin's database abstraction layer (FlipperCode_Model_Base::is_column()) treating user input wrapped in backticks as column names, bypassing the esc_sql() escaping function. Additionally, the wpgmp_ajax_call AJAX handler (registered for unauthenticated users via wp_ajax_nopriv) allows calling arbitrary class methods including wpgmp_return_final_capability, which passes the unsanitized location_id GET parameter directly to a database query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
flippercode WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters <= 4.9.1 after 4.9.1 Fixed
wordpress wp-google-map-plugin(WordPress) < 4.9.2 4.9.2 Fixed

Affected products

ProductAffected versionsFixed in
flippercode WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters <= 4.9.1 No fix listed
wordpress wp-google-map-plugin(WordPress) < 4.9.2 4.9.2

References