# CVE-2026-12238: WP Go Maps <= 10.1.01 - Unauthenticated Arbitrary Record Creation

> Unauthenticated attackers can create arbitrary records in WP Go Maps plugin database tables by bypassing authorization checks via the phpClass parameter.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 19 Jun 2026
- **Updated:** 24 Jun 2026
- **Also known as:** GHSA-68w4-qxch-r794

## What is CVE-2026-12238?

CVE-2026-12238 is a medium-severity missing authorization vulnerability in wpgmaps WP Go Maps – Google Map, OpenStreetMap, Leaflet Map, published on 19 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The WP Go Maps – Most Popular Map Plugin plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 10.1.01. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to create arbitrary records in plugin database tables (maps, markers, circles, polygons, polylines, rectangles, and point labels) by supplying a WPGMZA-namespaced CRUD-backed class name via the phpClass parameter. The namespace validation check (requiring the 'WPGMZA' prefix) does not prevent exploitation because classes such as WPGMZA\Map and WPGMZA\Marker satisfy it while still triggering an INSERT into the corresponding plugin table before the route rejects the request.

Weakness: CWE-862 (Missing Authorization)

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


## How do I fix CVE-2026-12238?

No fix has been published for CVE-2026-12238 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-12238 being exploited?

There is no known exploitation of CVE-2026-12238 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-12238 and fix it if it is affected.

What it is: CVE-2026-12238 is a medium-severity missing authorization vulnerability in wpgmaps WP Go Maps – Google Map, OpenStreetMap, Leaflet Map, published on 19 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-12238 in the wild and no public exploit code.

Affected product: wpgmaps WP Go Maps – Google Map, OpenStreetMap, Leaflet Map. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-12238/ (Markdown: https://insights.sbomify.com/CVE-2026-12238/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-12238
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-12238
- OSV: https://osv.dev/vulnerability/CVE-2026-12238

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-12238/
Summaries are generated and may contain mistakes; the official description above is the record.
