Description
The Best-wp-google-map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'latitude' and 'longitudinal' parameters of the 'google_map_view' shortcode in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. 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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-01-16: | Disclosed |
Credits
Youcef Hamdani
References
www.wordfence.com/...-03b8-44c3-bf35-36b8b7457f8a?source=cve
wordpress.org/plugins/best-wp-google-map/
plugins.trac.wordpress.org/...google-map/trunk/plug-hook.php
plugins.trac.wordpress.org/...gle-map/tags/2.1/plug-hook.php