CVE-2026-9757
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceGEO my WP plugin for WordPress up to version 4.5.5 contains a SQL Injection vulnerability in the gmw_get_locations_within_boundaries_sql() function. The 'swlatlng' and 'nelatlng' parameters are read from $_SERVER['QUERY_STRING'] via parse_str(), which bypasses WordPress's built-in magic quotes protection that only covers $_POST/$_GET/$_COOKIE/$_REQUEST. These parameters are split on ',' using explode() and the resulting values are directly interpolated into a SQL BETWEEN clause without any validation (is_numeric(), (float) casting) or sanitization (esc_sql(), $wpdb->prepare()). This allows unauthenticated attackers to inject arbitrary SQL queries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm GEO my WP plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for 'GEO my WP'. Alternatively, check /wp-content/plugins/geo-my-wp/ directory exists and contains plugin files.Affected if The plugin is not installed or directory does not exist - not affected.
-
Identify installed versionCheck the plugin version in the plugin header at /wp-content/plugins/geo-my-wp/geo-my-wp.php, or view the plugin in WordPress admin which displays the version number.Affected if Version is less than 4.5.6 - likely affected. Version 4.5.6 or later includes the fix.
-
Verify plugin is activeIn WordPress admin > Plugins, confirm GEO my WP shows as 'Active'. Only active plugins process requests and are vulnerable.Affected if Plugin is inactive - not affected when inactive.
-
Check for vulnerable code patternSearch plugin files for 'swlatlng' or 'nelatlng' parameters. Look for direct use of parse_str($_SERVER['QUERY_STRING']) followed by SQL queries without $wpdb->prepare(). Common locations: plugin shortcode or AJAX handlers.Affected if Vulnerable code pattern exists without $wpdb->prepare() - confirmed vulnerable.
User is affected if GEO my WP plugin is installed, active, and version is below 4.5.6, with vulnerable SQL query code present that directly uses query string parameters in BETWEEN clauses.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to a patched version of GEO my WP that implements proper input validation and uses $wpdb->prepare() or esc_sql() for all database queries. Until a patch is available, disable the Posts Locator shortcode from public pages or restrict access to authenticated users only.
GEO my WP version 4.5.6
- Upgrade GEO my WP plugin to version 4.5.6 or later
- Verify the upgrade was successful by checking the plugin version in WordPress admin > Plugins
- Test the Posts Locator search functionality to confirm the shortcode `[gmw form="results" form_id=N]` still works correctly
- Confirm no SQL injection warnings in server logs after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-9757 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-9757 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data