CVE-2026-19798 Missing authorization in WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters
Authenticated contributors can arbitrarily publish, unpublish, or delete any map post due to missing capability checks in the WP Map Block plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-19798?
CVE-2026-19798 is a medium-severity missing authorization vulnerability in tusharimran WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters, published on 16 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Wp Map Block plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the set_status() and bulk() functions in the Maps_Controller REST controller in versions up to, and including, 3.0.0. The plugin's permission_callback (can_edit()) only verifies current_user_can('edit_posts') and performs no object-level ownership check or verification of publish-level capabilities, while the handlers pass the caller-controlled map ID directly to wp_update_post() (and wp_delete_post() in the bulk delete branch) to change post_status between publish and draft. This makes it possible for authenticated attackers, with Contributor-level access and above, to publish or unpublish (and bulk-delete) any wpmb_map post, including maps owned by administrators, which hides published maps from all public pages site-wide or forces draft maps to become publicly visible.
Weakness: CWE-862
Which versions are affected by CVE-2026-19798?
How do I fix CVE-2026-19798?
No fix has been published for CVE-2026-19798 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-19798 being exploited?
There is no known exploitation of CVE-2026-19798 in the wild and no public exploit code.
Sources
Also known as GHSA-5899-9734-mqjw.