Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-11365 Overview
CVE-2025-11365 is a blind SQL injection vulnerability in the WP Google Map Plugin for WordPress. The flaw exists in the id parameter of the google_map shortcode. All plugin versions up to and including 1.0 are affected. The plugin fails to properly escape user-supplied input and does not use prepared statements when constructing SQL queries. Authenticated users with Contributor-level access or above can append arbitrary SQL to existing queries. Successful exploitation allows extraction of sensitive data from the WordPress database, including user credentials and session tokens. The vulnerability is classified under [CWE-89] (Improper Neutralization of Special Elements used in an SQL Command).
Critical Impact
Authenticated Contributors can exfiltrate arbitrary database contents, including password hashes and secret keys, through blind SQL injection.
Affected Products
- WP Google Map Plugin for WordPress — all versions up to and including 1.0
- WordPress sites allowing Contributor-level or higher user registration
- Any WordPress installation using the google_map shortcode
Discovery Timeline
- 2025-10-15 - CVE-2025-11365 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-11365
Vulnerability Analysis
The vulnerability resides in the shortcode handler located in shortcode.php of the WP Google Map Plugin. When a user embeds the [google_map id="..."] shortcode, the plugin passes the id attribute directly into an SQL query without sanitization or parameter binding. Because WordPress renders shortcodes contained in post content, any user permitted to create or edit posts can trigger the vulnerable code path. Contributors qualify because they can save draft posts containing arbitrary shortcodes.
The injection is blind, meaning the server does not return query output directly in the HTTP response. Attackers instead infer database contents through boolean-based or time-based inference techniques. Automated tooling such as sqlmap can extract entire tables through repeated conditional queries. Detailed analysis is available in the Wordfence Vulnerability Analysis.
Root Cause
The root cause is the absence of $wpdb->prepare() or equivalent parameterized query construction around the id shortcode attribute. The plugin concatenates the attribute value directly into an SQL statement. The vulnerable code path can be reviewed in the WordPress Plugin Shortcode Code.
Attack Vector
An authenticated attacker with Contributor privileges creates or edits a post containing a crafted google_map shortcode. The id attribute carries the malicious SQL payload, typically using UNION, SLEEP(), or conditional expressions. When the post is previewed or rendered, the injected SQL executes with the privileges of the WordPress database user. Data extraction proceeds inference-by-inference until sensitive records such as wp_users.user_pass are recovered.
Detection Methods for CVE-2025-11365
Indicators of Compromise
- Post content or drafts containing google_map shortcodes with SQL keywords such as UNION, SELECT, SLEEP, or BENCHMARK in the id attribute
- Unusually long-running database queries originating from PHP requests that render posts containing the shortcode
- Repeated preview or render requests from a single Contributor account within short time windows
- New or recently promoted Contributor accounts followed by suspicious post creation activity
Detection Strategies
- Enable MySQL general query log or slow query log and alert on statements referencing the plugin's tables that contain injection primitives
- Deploy a web application firewall rule matching SQL metacharacters inside google_map shortcode attributes
- Review WordPress wp_posts content for shortcodes containing quote characters, comment markers, or SQL functions inside the id value
Monitoring Recommendations
- Monitor authentication logs for privilege changes granting Contributor or higher roles
- Track post save and preview events by low-privilege users, correlating with database error rates
- Alert on outbound data transfer anomalies from the WordPress host that may indicate bulk data exfiltration
How to Mitigate CVE-2025-11365
Immediate Actions Required
- Deactivate and remove the WP Google Map Plugin from all WordPress installations until a patched version is available
- Audit existing Contributor, Author, and Editor accounts and remove any that are unrecognized
- Rotate WordPress secret keys in wp-config.php and force password resets for all users
- Review the wp_posts table for shortcodes containing injection payloads and purge malicious drafts
Patch Information
No vendor patch has been referenced in the advisory at the time of publication. The plugin appears unmaintained, with all versions up to and including 1.0 vulnerable. Site operators should replace the plugin with an actively maintained alternative that uses $wpdb->prepare() for all database interactions.
Workarounds
- Restrict user registration to trusted individuals and disable open Contributor sign-up
- Remove the unfiltered_html and shortcode execution permissions from lower-privilege roles using role management plugins
- Deploy a WAF policy that blocks requests containing suspicious google_map shortcode attributes
- Replace the plugin with a maintained mapping alternative and remove all references to [google_map] shortcodes from existing content
# Configuration example: remove the plugin and search posts for malicious shortcodes
wp plugin deactivate wp-google-map
wp plugin delete wp-google-map
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content REGEXP 'google_map[^]]*id=\"[^\"]*(union|select|sleep|benchmark)';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

