Maps Widget for Google Maps Security & Risk Analysis

wordpress.org/plugins/google-maps-widget

Are your Google Maps slow? Try Map Widget for Google Maps. You'll have a fast Google Maps widget with a thumbnail & lightbox map in minutes!

30K active installs v4.27 PHP 7.2+ WP 4.0+ Updated Dec 3, 2025
google-mapgoogle-mapsgoogle-maps-widgetmapmap-widget
99
A · Safe
CVEs total2
Unpatched0
Last CVEApr 6, 2023
Safety Verdict

Is Maps Widget for Google Maps Safe to Use in 2026?

Generally Safe

Score 99/100

Maps Widget for Google Maps has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Apr 6, 2023Updated 4mo ago
Risk Assessment

The google-maps-widget plugin version 4.27 exhibits a mixed security posture. On the positive side, it demonstrates good practices by having no SQL queries that are not prepared, no file operations, and no identified critical or high severity taint flows. The presence of nonce and capability checks on its AJAX handlers, although limited, is also a good sign. However, concerns arise from the output escaping, where 74% is properly escaped, leaving a significant portion (26%) potentially vulnerable to Cross-Site Scripting (XSS) if not handled with care. The plugin also makes 5 external HTTP requests, which could be a vector for supply chain attacks if the external services are compromised.

The vulnerability history reveals two medium severity CVEs, both related to Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF). The fact that there are no currently unpatched vulnerabilities is reassuring, but the recurring nature of XSS and CSRF suggests that input sanitization and output encoding might require more robust implementation. The last vulnerability was in April 2023, indicating that while the plugin has been updated, past issues warrant continued vigilance. Overall, the plugin has strengths in its prepared SQL and lack of critical taint issues, but the output escaping and past vulnerability types highlight areas for improvement.

Key Concerns

  • Potential unescaped output
  • Bundled library (Select2) - potential for outdated version
  • Medium severity CVE history (2 instances)
Vulnerabilities
2

Maps Widget for Google Maps Security Vulnerabilities

CVEs by Year

2 CVEs in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2023-1913medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Maps Widget for Google Maps <= 4.24 - Authenticated (Administrator+) Stored Cross-Site Scripting

Apr 6, 2023 Patched in 4.25 (292d)
WF-0472804e-00cc-4c4c-97aa-86f433f65782-google-maps-widgetmedium · 4.3Cross-Site Request Forgery (CSRF)

Maps Widget for Google Maps <= 4.23 - Cross-Site Request Forgery via dismiss_notice

Mar 28, 2023 Patched in 4.24 (301d)
Code Analysis
Analyzed Mar 16, 2026

Maps Widget for Google Maps Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
66
192 escaped
Nonce Checks
4
Capability Checks
2
File Operations
0
External Requests
5
Bundled Libraries
1

Bundled Libraries

Select2

Output Escaping

74% escaped258 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
test_api_key_ajax (google-maps-widget.php:270)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Maps Widget for Google Maps Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 3

authwp_ajax_gmw_test_api_keygoogle-maps-widget.php:85
authwp_ajax_gmw_activategoogle-maps-widget.php:86
authwp_ajax_gmw_dismiss_pointergoogle-maps-widget.php:87
WordPress Hooks 21
filterplugin_row_metagoogle-maps-widget.php:75
actionadmin_enqueue_scriptsgoogle-maps-widget.php:78
actioncustomize_controls_enqueue_scriptsgoogle-maps-widget.php:79
actionadmin_footergoogle-maps-widget.php:82
actionadmin_action_gmw_dismiss_noticegoogle-maps-widget.php:90
actionadmin_menugoogle-maps-widget.php:93
actionadmin_initgoogle-maps-widget.php:96
actioncurrent_screengoogle-maps-widget.php:99
actionwp_enqueue_scriptsgoogle-maps-widget.php:102
actionwp_footergoogle-maps-widget.php:103
actionadmin_noticesgoogle-maps-widget.php:232
actionadmin_noticesgoogle-maps-widget.php:497
actionadmin_noticesgoogle-maps-widget.php:504
actionadmin_noticesgoogle-maps-widget.php:510
actionadmin_noticesgoogle-maps-widget.php:518
actionadmin_noticesgoogle-maps-widget.php:525
filtersafe_style_cssgoogle-maps-widget.php:1182
filtersafe_style_cssgoogle-maps-widget.php:1414
actioninitgoogle-maps-widget.php:1612
actionplugins_loadedgoogle-maps-widget.php:1613
actionwidgets_initgoogle-maps-widget.php:1614
Maintenance & Trust

Maps Widget for Google Maps Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 3, 2025
PHP min version7.2
Downloads2.5M

Community Trust

Rating92/100
Number of ratings512
Active installs30K
Developer Profile

Maps Widget for Google Maps Developer Profile

WebFactory

28 plugins · 3.5M total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
699 days
View full developer profile
Detection Fingerprints

How We Detect Maps Widget for Google Maps

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/google-maps-widget/js/frontend.js/wp-content/plugins/google-maps-widget/css/frontend.css
Script Paths
/wp-content/plugins/google-maps-widget/js/frontend.js/wp-content/plugins/google-maps-widget/js/admin.js/wp-content/plugins/google-maps-widget/js/admin.js
Version Parameters
google-maps-widget/js/frontend.js?ver=google-maps-widget/css/frontend.css?ver=google-maps-widget/js/admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
gmw-map-wrappergmw-map-canvas
HTML Comments
<!-- START GMW MAP WIDGET --><!-- END GMW MAP WIDGET --><!-- Maps Widget for Google Maps Settings --><!-- END Maps Widget for Google Maps Settings -->
Data Attributes
data-gmw-options
JS Globals
gmw_options
REST Endpoints
/wp-json/gmw/v1/settings
Shortcode Output
[google-maps-widget
FAQ

Frequently Asked Questions about Maps Widget for Google Maps