# CVE-2026-15300: GEO my WP \<= 4.5.4 - Unauthenticated SQL Injection via 'distance' / 'lat' / 'lng' Parameters

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-28)
- **CWE:** CWE-89
- **Published:** 2026-07-10T04:31:27.623Z
- **Modified:** 2026-07-10T16:16:26.013Z

## Who should check

- Anyone running ninjew GEO my WP \<= 4.5.4

## 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.

## Affected and fixed versions

- ninjew GEO my WP: \<= 4.5.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-15300. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-15300.md
Affected: ninjew GEO my WP <= 4.5.4
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for ninjew GEO my WP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-15300 being exploited?

There is no confirmed exploitation: CVE-2026-15300 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-15300?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-15300?

ninjew GEO my WP \<= 4.5.4.

### Is there a fix for CVE-2026-15300?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-15300?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/ecbc7f05-fc4f-4276-968e-04222a64e55a?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/geo-my-wp/tags/4.5.4/plugins/posts-locator/includes/class-gmw-wp-query.php#L299>
- other: <https://plugins.trac.wordpress.org/browser/geo-my-wp/tags/4.5.4/plugins/posts-locator/includes/class-gmw-wp-query.php#L300>
- other: <https://plugins.trac.wordpress.org/browser/geo-my-wp/tags/4.5.4/plugins/posts-locator/includes/class-gmw-wp-query.php#L301>
- other: <https://plugins.trac.wordpress.org/browser/geo-my-wp/tags/4.5.5/plugins/posts-locator/includes/class-gmw-wp-query.php#L286>
- other: <https://plugins.trac.wordpress.org/browser/geo-my-wp/tags/4.5.5/plugins/posts-locator/includes/class-gmw-wp-query.php#L305>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-15300>

HTML: <https://flawdb.com/CVE-2026-15300> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-15300>
