Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-15300: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in ninjew GEO my WP

0
Critical
VulnerabilityCVE-2026-15300cvecve-2026-15300cwe-89
Published: 07/10/2026 (07/10/2026, 04:31:27 UTC)
Source: CVE Database V5
Vendor/Project: ninjew
Product: GEO my WP

Description

The GEO my WP plugin for WordPress was vulnerable to SQL Injection via the 'distance', 'lat', and 'lng' parameters in versions up to, and including, 4.5.4. The values were read from $_SERVER['QUERY_STRING'] via parse_str() (bypassing wp_magic_quotes, which does not cover $_SERVER), then passed through bare esc_sql() before being interpolated into unquoted numeric positions in the proximity-search query (HAVING/SELECT clause distance math, BETWEEN bounding-box pre-filter) built by gmw_locations_query() in plugins/posts-locator/includes/class-gmw-wp-query.php. Because esc_sql() only escapes string delimiters and these positions are numeric, payloads such as `1 OR SLEEP(3)` survived sanitization. Fixed in 4.5.5 by adding an upstream is_numeric() guard that short-circuits the WHERE clause to `AND 1 = 0` when either coordinate is non-numeric, and by replacing the three esc_sql() calls with (float) casts.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

Affected versions
<=4.5.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 05:32:50 UTC

Technical Analysis

CVE-2026-15300 is an SQL Injection vulnerability in the GEO my WP plugin for WordPress affecting versions up to 4.5.4. The plugin reads 'distance', 'lat', and 'lng' parameters from $_SERVER['QUERY_STRING'] using parse_str(), bypassing wp_magic_quotes. These parameters are then passed through esc_sql() but used in unquoted numeric positions in SQL queries, which esc_sql() does not properly sanitize for. This allows injection of SQL payloads such as '1 OR SLEEP(3)'. The vulnerability is fixed in version 4.5.5 by adding an upstream is_numeric() check that short-circuits the query if inputs are non-numeric and by casting inputs to float instead of using esc_sql().

Potential Impact

An attacker can exploit this vulnerability to perform SQL Injection attacks, potentially causing high impact such as denial of service (via SLEEP) or other unauthorized SQL command execution. The CVSS score of 9.1 indicates critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on integrity and availability.

Mitigation Recommendations

A fix is available in GEO my WP version 4.5.5 which adds numeric validation and casts inputs to float to prevent SQL Injection. Users should upgrade to version 4.5.5 or later to remediate this vulnerability. No other mitigation guidance is provided or necessary as the fix addresses the root cause.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-07-09T15:54:32.605Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50809468715ace430636e6

Added to database: 07/10/2026, 05:18:12 UTC

Last enriched: 07/10/2026, 05:32:50 UTC

Last updated: 07/10/2026, 07:55:29 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses