CVE-2023-6524 — MapPress WP Plugin <= 2.88.13 Contributor+ Stored Cross-Site Scritpting
The plugin embeds Maps and the location detail (Name and Description). These are not sanitized, causing an XSS vulnerability. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Proof of Concepts
- Go to Plugin’s page
/wp-admin/admin.php?page=mappress_maps - Add New Map and search any location you want.
- Add XSS Payload on Location’s detail (Location Name and Description)
<img src onerror=alert(/XSS/)>
- Save Maps
- Copy your created Maps’ shortcode then paste in a new post
XSS Payload will triggered in the created page.
Impact
This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.