WP Google Maps - Version 7.10.42

Version Description

:- 2018-10-25 :- High priority = * Closed potential XSS vulnerability in PHP_SELF on map edit page

Download this release

Release Info

Developer perryrylance
Plugin Icon 128x128 WP Google Maps
Version 7.10.42
Comparing to
See all releases

Code changes from version 7.10.41 to 7.10.42

Files changed (2) hide show
  1. readme.txt +3 -0
  2. wpGoogleMaps.php +5 -2
readme.txt CHANGED
@@ -216,6 +216,9 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
216
 
217
  == Changelog ==
218
 
 
 
 
219
  = 7.10.41 :- 2018-10-24 :- Medium priority =
220
  * Changed exception to notice when v8 dependencies are missing (fixes issue with Pro < 7.10.37 in developer mode)
221
 
216
 
217
  == Changelog ==
218
 
219
+ = 7.10.42 :- 2018-10-25 :- High priority =
220
+ * Closed potential XSS vulnerability in PHP_SELF on map edit page
221
+
222
  = 7.10.41 :- 2018-10-24 :- Medium priority =
223
  * Changed exception to notice when v8 dependencies are missing (fixes issue with Pro < 7.10.37 in developer mode)
224
 
wpGoogleMaps.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://www.wpgmaps.com
5
  Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
- Version: 7.10.41
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
@@ -11,6 +11,9 @@ Domain Path: /languages
11
  */
12
 
13
  /*
 
 
 
14
  * 7.10.41 :- 2018-10-24 :- Medium priority
15
  * Changed exception to notice when v8 dependencies are missing (fixes issue with Pro < 7.10.37 in developer mode)
16
  *
@@ -5422,7 +5425,7 @@ function wpgmza_basic_menu() {
5422
  </ul>
5423
  <div id=\"tabs-1\">
5424
  <p></p>
5425
- <input type='hidden' name='http_referer' value='".$_SERVER['PHP_SELF']."' />
5426
  <input type='hidden' name='wpgmza_id' id='wpgmza_id' value='".$res->id."' />
5427
  <input id='wpgmza_start_location' name='wpgmza_start_location' type='hidden' size='40' maxlength='100' value='".$res->map_start_location."' />
5428
  <select id='wpgmza_start_zoom' name='wpgmza_start_zoom' style='display:none;' >
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://www.wpgmaps.com
5
  Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
+ Version: 7.10.42
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
11
  */
12
 
13
  /*
14
+ * 7.10.42 :- 2018-10-25 :- High priority
15
+ * Closed potential XSS vulnerability in PHP_SELF on map edit page
16
+ *
17
  * 7.10.41 :- 2018-10-24 :- Medium priority
18
  * Changed exception to notice when v8 dependencies are missing (fixes issue with Pro < 7.10.37 in developer mode)
19
  *
5425
  </ul>
5426
  <div id=\"tabs-1\">
5427
  <p></p>
5428
+ <input type='hidden' name='http_referer' value='" . htmlentities($_SERVER['PHP_SELF']) . "' />
5429
  <input type='hidden' name='wpgmza_id' id='wpgmza_id' value='".$res->id."' />
5430
  <input id='wpgmza_start_location' name='wpgmza_start_location' type='hidden' size='40' maxlength='100' value='".$res->map_start_location."' />
5431
  <select id='wpgmza_start_zoom' name='wpgmza_start_zoom' style='display:none;' >