Skip to main content

GEO my WP CVE-2026-9757

| EUVDEUVD-2026-33453 HIGH
SQL Injection (CWE-89)
2026-05-30 Wordfence GHSA-823p-x8f9-wj7r
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site with GEO my WP shortcode
  2. Delivery
    Locate public Posts Locator results page
  3. Exploit
    Send GET with malicious swlatlng/nelatlng query string
  4. Execution
    Bypass wp_magic_quotes via $_SERVER parsing
  5. Persist
    Inject UNION SELECT into BETWEEN clause
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

GEO my WP 0 ≤4.5.5

Affected Packages

euvd geo_my_wp no fix

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

Vendor (Wordfence) PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 75% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy