---
id: CVE-2026-85705
title: >-
  The Location Manager plugin for WordPress is vulnerable to generic SQL
  Injection via 'latitude' and 'longitude' REST API Parameters in all versions
  up to, and including, 2.3.38 due to insufficient escaping on the user supplied
  parameter …
summary: >-
  The Location Manager plugin for WordPress is vulnerable to generic SQL
  Injection via 'latitude' and 'longitude' REST API Parameters in all versions
  up to, and including, 2.3.38 due to insufficient escaping on the user supplied
  parameter …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
vendor: AyeCode Ltd
product: Location Manager
affected:
  - location_manager <= 2.3.38
published: '2026-09-18'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T15:17:14.353'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85705'
references:
  - url: 'https://wpgeodirectory.com/downloads/location-manager/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f0ada9b6-a27c-4336-8550-99294c119a88?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-18T14:40:10.547985Z'
epss: 0.00337
epssPercentile: 0.27197
ingestedAt: '2026-09-18T08:38:04.105Z'
---

## Overview

The Location Manager plugin for WordPress is vulnerable to generic SQL Injection via 'latitude' and 'longitude' REST API Parameters in all versions up to, and including, 2.3.38 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. 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. The injection is triggered when the orderby=lat_lon parameter is supplied, and affects multiple publicly accessible REST endpoints including geodir/v2/locations/cities, /regions, /countries, and /neighbourhoods via both the get_locations() and get_neighbourhoods() functions.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
