# WP Map Block <= 3.1.0 - Authenticated (Contributor+) Missing Authorization to Usage Tracking Opt-In

- **ID:** WPSEC-2026-2384
- **Plugin:** WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters (`wp-map-block`), https://wordpress.org/plugins/wp-map-block/
- **Affected versions:** from 3.0.0 before 3.2.0
- **Fixed in:** 3.2.0 (Update to 3.2.0 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-map-block
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2384/

## Description

The WP Map Block plugin for WordPress is vulnerable to unauthorized modification of data in all versions up to, and including, 3.1.0. This is because the /onboarding/subscribe and /gift/optin REST routes only checked for the edit_posts capability. These routes change the site-wide usage-tracking consent of the bundled SDK, which is an administrator's decision. This makes it possible for authenticated attackers, with contributor-level access and above, to opt the site into or out of usage tracking and send consent details to the vendor without administrator approval.

## References

- https://wpsec.com/vuln/WPSEC-2026-2384/
- https://plugins.svn.wordpress.org/wp-map-block/tags/3.2.0/
- https://wordpress.org/plugins/wp-map-block/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2384/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
