# MapPress Maps for WordPress <= 2.98 - Unauthenticated Insecure Direct Object Reference to Private Map Data via 'mapid'

- **ID:** WPSEC-2026-4204
- **Plugin:** MapPress – Free Map Plugin for Google Maps, or OpenStreetMap With No API Key (`mappress-google-maps-for-wordpress`), https://wordpress.org/plugins/mappress-google-maps-for-wordpress/
- **Affected versions:** all versions before 2.98.1
- **Fixed in:** 2.98.1 (Update to 2.98.1 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mappress-google-maps-for-wordpress
- **Fix released:** 2026-11-27
- **Published:** 2026-11-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4204/

## Description

The MapPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.98, due to a missing check that the visitor can read the post a map is attached to when the map is loaded by its ID. The affected paths are the map embed URL (?mappress=embed&mapid=), the public REST route /mapp/v1/maps/{id}/display and the [mappress mapid] shortcode. This makes it possible for unauthenticated attackers to enumerate map IDs and view maps attached to draft, private or password-protected posts, including the titles, content and locations of their POIs.

## References

- https://wpsec.com/vuln/WPSEC-2026-4204/
- https://plugins.svn.wordpress.org/mappress-google-maps-for-wordpress/tags/2.98.1/
- https://wordpress.org/plugins/mappress-google-maps-for-wordpress/

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

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.
