{
 "id": "WPSEC-2026-3995",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3995/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3995/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3995/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3995.json",
 "title": "WP Go Maps – Google Map, OpenStreetMap, Leaflet & Store Locator <= 10.2.05 - Unauthenticated SQL Injection via 'Enable Dynamic SQL Refactors' Setting",
 "description": "The WP Go Maps plugin for WordPress is vulnerable to SQL Injection via the 'Enable Dynamic SQL Refactors' option in versions 9.0.6 up to, and including, 10.2.05. The cause is that the option hooks dynamicQueryRefactor() to the WordPress 'query' filter, which rewrites every already-prepared query that contains 'wpgmza', replacing \\' with ''. When the database server runs in NO_BACKSLASH_ESCAPES mode, $wpdb->prepare() escapes a quote by doubling it and leaves backslashes unchanged, so this rewrite turns a user-supplied backslash and quote into a quote that closes the string. This makes it possible for unauthenticated attackers to inject SQL into existing queries through public routes such as the /geocode-cache REST endpoint and use it to extract sensitive information from the database. Exploitation requires an administrator to have enabled the non-default 'Enable Dynamic SQL Refactors' option and the database server to run in NO_BACKSLASH_ESCAPES mode.",
 "plugin": {
  "slug": "wp-google-maps",
  "name": "WP Go Maps – Google Map, OpenStreetMap, Leaflet & Store Locator",
  "full_name": "WP Go Maps – Google Map, OpenStreetMap, Leaflet & Store Locator",
  "wordpress_org": "https://wordpress.org/plugins/wp-google-maps/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-google-maps/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-google-maps"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.9,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "9.0.6",
    "from_inclusive": true,
    "to": "10.2.06",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 9.0.6 before 10.2.06"
  ]
 },
 "introduced_in": "9.0.6",
 "fixed_in": "10.2.06",
 "remediation": "Update to 10.2.06 or later.",
 "fix_released": "2026-11-25T12:53:29+00:00",
 "published": "2026-11-26T14:03:01+00:00",
 "updated": "2026-11-26T12:03:31.951664+00:00",
 "also_published_as": {
  "source": "wordfence",
  "cve": [
   "CVE-2026-132198"
  ],
  "published": "2026-11-26T02:57:49+00:00"
 },
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3995/",
  "https://plugins.svn.wordpress.org/wp-google-maps/tags/10.2.06/",
  "https://wordpress.org/plugins/wp-google-maps/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-google-maps",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "Medium",
  "as_of": "2026-11-26"
 }
}