Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site with GEO my WP shortcode
-
DeliveryLocate public Posts Locator results page
-
ExploitSend GET with malicious swlatlng/nelatlng query string
-
ExecutionBypass wp_magic_quotes via $_SERVER parsing
-
PersistInject UNION SELECT into BETWEEN clause
-
ImpactExfiltrate hashes and secrets from wp_users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the GEO my WP plugin at version ≤4.5.5 installed and active, must publish a page containing the Posts Locator search-results shortcode [gmw form="results" form_id=N] reachable by anonymous visitors, and must have at least one published post with an associated row in the gmw_location table so the boundary SQL query is actually executed. Given those conditions, no authentication, no user interaction, and no special client privileges are required - the attack is launched by sending an HTTP GET with malicious 'swlatlng' and/or 'nelatlng' query-string values. Sites that use other GEO my WP form types (e.g., members locator, only admin-side geocoding) or that do not expose a Posts Locator results page publicly are not exploitable through this vector. |
| Impact | The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects network-reachable, unauthenticated, low-complexity exploitation with high confidentiality impact but no integrity or availability impact - consistent with a data-exfiltration-only SQLi via a SELECT-style BETWEEN clause. EPSS and KEV signals were not supplied in the input, so probability of widespread exploitation cannot be quantified, and active exploitation is not confirmed. Real-world risk is meaningfully gated by a non-default precondition: the site must host the Posts Locator results shortcode '[gmw form="results" form_id=N]' on a public page and have at least one published post with an associated gmw_location row. This makes the issue a high-priority patch for sites that actually expose the Posts Locator search results UI, but a lower practical risk for installs that use only other GEO my WP features. |
| Exploit ScenarioDerived | An unauthenticated attacker locates a WordPress site running GEO my WP ≤4.5.5 with a public Posts Locator results page, then issues a GET request to that page with crafted 'swlatlng' and/or 'nelatlng' query parameters carrying a UNION-based SQLi payload embedded between comma-separated numeric fragments. Because the values bypass wp_magic_quotes and are concatenated unsanitized into the BETWEEN clause of gmw_get_locations_within_boundaries_sql(), the appended SELECT executes and returns sensitive data - for example WordPress user records, password hashes, or secret_keys - rendered or inferable through the search response. No public exploit code is identified at time of analysis, but the bug is straightforward to weaponize given the published source references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 30, 2026
SQL injection in the GEO my WP WordPress plugin (versions ≤4.5.5) allows unauthenticated remote attackers to append arbitrary SQL via the 'swlatlng' and 'nelatlng' query-string parameters, enabling extraction of sensitive database contents. The flaw stems from reading parameters directly from $_SERVER['QUERY_STRING'] with parse_str(), bypassing WordPress's wp_magic_quotes sanitization. No public exploit identified at time of analysis, and the vulnerability is not currently listed in CISA KEV, but exploitation requires only a public page hosting the Posts Locator results shortcode.
RemediationAI
Upgrade GEO my WP to version 4.5.5.1 or later, which contains the upstream fix shipped in WordPress.org plugin changeset 3552886 (https://plugins.trac.wordpress.org/changeset/3552886/geo-my-wp/trunk/includes/gmw-functions.php); this is the vendor-released patch. Until the update can be applied, operators can remove or unpublish any page containing the Posts Locator results shortcode [gmw form="results" form_id=N] to eliminate the entry point, accepting the trade-off of losing geo search-results functionality for site visitors. As an additional compensating control, a WAF rule blocking requests whose query string contains 'swlatlng' or 'nelatlng' values that are not strictly two comma-separated floats can be deployed, but this may interfere with legitimate map searches and should be tested. Refer to the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/042f78a4-2256-4286-aa03-8bd8b7a79530?source=cve for full details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GEO my WP is a geolocation/proximity-search plugin for WordPress published by 'ninjew' (CPE cpe:2.3:a:ninjew:geo_my_wp). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Specifically, gmw_get_locations_within_boundaries_sql() builds a SQL BETWEEN clause from latitude/longitude bounding-box parameters obtained by parsing the raw $_SERVER['QUERY_STRING'] via PHP's parse_str(). Because WordPress's wp_magic_quotes only sanitizes the $_POST, $_GET, $_COOKIE, and $_REQUEST superglobals, values pulled from $_SERVER bypass that protection. The 'swlatlng' and 'nelatlng' strings are split on commas with explode() and interpolated directly into the SQL string with no is_numeric() check, no (float) cast, no esc_sql(), and no $wpdb->prepare() parameterization, so an attacker can break out of the numeric context.
Know when Geo My Wp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The GEO my WP plugin for WordPress is vulnerable to SQL Injection via the 'swlatlng' and 'nelatlng' parameters in all versions up to, and including, 4.5.5 The parameters are read from $_SERVER['QUERY_STRING'] via parse_str() (bypassing WordPress's wp_magic_quotes protection, which only covers $_POST/$_GET/$_COOKIE/$_REQUEST), then each is split on ',' via explode() and the resulting fragments are interpolated directly into a SQL BETWEEN clause in gmw_get_locations_within_boundaries_sql() without is_numeric() validation, (float) casting, esc_sql(), or $wpdb->prepare(). 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. Exploitation requires the site to host the Posts Locator search-results shortcode ([gmw form="results" form_id=N]) on a public page and to have at least one published post with an associated gmw_location row.
Executive ViewAI
GEO my WP WordPress plugin versions 4.5.5 and earlier contain an unauthenticated SQL injection vulnerability that permits attackers to extract sensitive database contents through public-facing plugin pages. While no public exploit code is currently available, the vulnerability requires only basic URL manipulation and poses an immediate data breach risk to organizations using this plugin.
No vendor-released patch identified at time of analysis. Interim controls: (1) Disable plugin immediately, (2) Restrict network access to vulnerable pages via firewall or authentication layer, (3) Deploy Web Application Firewall rules for SQL injection detection on affected parameters, (4) Enable and monitor database query logging.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Local file inclusion and remote code execution in GEO my WP WordPress plugin (≤4.5.5.3) allow unauthenticated attackers
GEO my WP WordPress plugin versions before 4.5.5.3 allows any subscriber-level (or higher) authenticated user to modify
EUVD-2026-33453
GHSA-823p-x8f9-wj7r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB