---
id: CVE-2026-19798
title: >-
  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, …
summary: >-
  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, …
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-862
vendor: tusharimran
product: >-
  WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator,
  Directory, Listings & Filters
affected:
  - >-
    wp_map_block_google_maps_openstreetmap_mapbox_store_shop_locator_directory_listings_filters
    <= 3.0.0
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:15.747'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-19798'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-map-block/tags/3.0.0/includes/Rest/Maps_Controller.php#L124
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-map-block/tags/3.0.0/includes/Rest/Maps_Controller.php#L237
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-map-block/tags/3.0.0/includes/Rest/Maps_Controller.php#L262
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-map-block/tags/3.0.0/includes/Rest/Maps_Controller.php#L63
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3730836%40wp-map-block&new=3730836%40wp-map-block
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/b42f1f71-e272-48d4-9b3f-4360b287e16f?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00204
epssPercentile: 0.10257
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:22:31.555056Z'
ingestedAt: '2026-10-16T07:01:11.477Z'
---

## Overview

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.

## Remediation

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