Geolocator Security & Risk Analysis

wordpress.org/plugins/geolocator

Get website visitor's location based on IP address and show/hide specific content depending on country.

50 active installs v1.1 PHP + WP 4.1.1+ Updated Nov 27, 2017
geolocatorip-based-locationip-locationshow-for-countryuser-country
59
C · Use Caution
CVEs total1
Unpatched1
Last CVENov 18, 2024
Safety Verdict

Is Geolocator Safe to Use in 2026?

Use With Caution

Score 59/100

Geolocator has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Nov 18, 2024Updated 8yr ago
Risk Assessment

The geolocator plugin v1.1 presents a mixed security posture. While it demonstrates good practices by utilizing prepared statements for all SQL queries and a high percentage of properly escaped output, significant concerns arise from its vulnerability history and static analysis findings. The presence of a critical unpatched CVE related to deserialization of untrusted data is a major red flag, indicating a recurring and severe security flaw. Furthermore, the static analysis reveals the use of the dangerous `unserialize` function, which directly correlates with the type of historical vulnerability. Although the plugin boasts a low attack surface with no unprotected entry points, the single critical vulnerability and the potential for deserialization exploits overshadow these positives.

Key Concerns

  • Unpatched critical CVE
  • Critical taint flow found
  • Use of unserialize function
  • Zero nonce checks
  • Zero capability checks
Vulnerabilities
1

Geolocator Security Vulnerabilities

CVEs by Year

1 CVE in 2024 · unpatched
2024
Patched Has unpatched

Severity Breakdown

Critical
1

1 total CVE

CVE-2024-52443critical · 9.8Deserialization of Untrusted Data

Geolocator <= 1.1 - Unauthenticated PHP Object Injection

Nov 18, 2024Unpatched
Code Analysis
Analyzed Mar 16, 2026

Geolocator Code Analysis

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

Dangerous Functions Found

unserialize$location = unserialize( stripslashes( $_COOKIE['geolocator_location'] ) );classes\class.location.php:37

Output Escaping

80% escaped25 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
getLocation (classes\class.location.php:33)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Geolocator Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[geolocator] classes\class.shortcodes.php:34
[geolocator_show] classes\class.shortcodes.php:35
[geolocator_hide] classes\class.shortcodes.php:36
WordPress Hooks 12
actionpre_get_postsclasses\class.posts.php:40
actionwpclasses\class.posts.php:41
actionadd_meta_boxesclasses\class.posts.php:45
actionsave_postclasses\class.posts.php:50
filterget_previous_post_joinclasses\class.posts.php:55
filterget_next_post_joinclasses\class.posts.php:56
filterget_previous_post_whereclasses\class.posts.php:57
filterget_next_post_whereclasses\class.posts.php:58
actioninitgeolocator.php:122
actionwidgets_initgeolocator.php:123
actionadmin_menuincludes\settings.php:3
actionadmin_initincludes\settings.php:42
Maintenance & Trust

Geolocator Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedNov 27, 2017
PHP min version
Downloads4K

Community Trust

Rating80/100
Number of ratings4
Active installs50
Developer Profile

Geolocator Developer Profile

masikonis

2 plugins · 60 total installs

80
trust score
Avg Security Score
80/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Geolocator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/geolocator/vendor/autoload.php/wp-content/plugins/geolocator/classes/class.utilities.php/wp-content/plugins/geolocator/classes/class.location.php/wp-content/plugins/geolocator/classes/class.shortcodes.php/wp-content/plugins/geolocator/classes/class.posts.php/wp-content/plugins/geolocator/includes/widget.php/wp-content/plugins/geolocator/includes/settings.php/wp-content/plugins/geolocator/languages

HTML / DOM Fingerprints

HTML Comments
<!-- Geolocator --><!-- Geolocator Main Metabox --><!-- Geolocator Post Settings -->
Data Attributes
data-geolocator-countrydata-geolocator-country-namedata-geolocator-latitudedata-geolocator-longitude
JS Globals
geolocator_options
Shortcode Output
[geolocator][geolocator_show][geolocator_hide]
FAQ

Frequently Asked Questions about Geolocator