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

7.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-3222
CVSS 7.5 (High)
Publicly Published March 10, 2026
Last Updated March 11, 2026
Researcher johska

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters

Software Type Plugin
Software Slug wp-google-map-plugin (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.9.2, or a newer patched version
Affected Version
  • <= 4.9.1
Patched Version
  • 4.9.2

Recent vulnerabilities in WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters

# Title CVE ID CVSS Researchers Date
1 WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters <= 4.9.6 - Authenticated (Subscriber+) Information Exposure CVE-2026-28144 4.3 Ananda Dhakal July 31, 2026
2 WP Maps – Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters < 4.9.3 - Authenticated (Subscriber+) Local File Inclusion CVE-2026-6381 7.5 Mustafa June 11, 2026
3 WP Maps <= 4.9.4 - Authenticated (Admin+) Stored Cross-Site Scripting via 'location_messages' Parameter CVE-2026-9594 4.4 Yousef Alraddadi June 5, 2026
4 WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters <= 4.8.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'put_wpgm' Shortcode CVE-2025-13364 6.4 Muhammad Yudha - DJ April 15, 2026
5 WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters <= 4.9.1 - Unauthenticated SQL Injection CVE-2026-39492 7.5 Nguyen Ba Khanh April 8, 2026
6 WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters <= 4.9.1 - Unauthenticated SQL Injection via 'orderby' Parameter CVE-2026-2580 7.5 Chiao-Lin Yu (Steven Meow) March 22, 2026
7 WP Maps <= 4.8.6 - Authenticated (Subscriber+) Limited Local File Inclusion CVE-2025-12062 8.8 mikemyers February 16, 2026
8 Maps <= 4.8.6 - Authenticated (Administrator+) PHP Object Injection CVE-2025-67535 6.6 Aitor F (kr0no) November 2, 2025
9 WP Maps – Display Google Maps Perfectly with Ease <= 4.7.1 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2025-3503 4.4 Dmitrii Ignatyev April 10, 2025
10 WP Maps – Display Google Maps Perfectly with Ease <= 4.7.1 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2025-3504 4.4 Dmitrii Ignatyev April 10, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation