User Location and IP Security & Risk Analysis

wordpress.org/plugins/user-location-and-ip

User Location and IP is a free shortcode based Wordpress plugin that displays real-time information about your users, including their IP address, loca …

400 active installs v2.0 PHP 7.2+ WP 5.4+ Updated Aug 29, 2025
cityip-addressregionuser-countryuser-location
100
A · Safe
CVEs total1
Unpatched0
Last CVEOct 3, 2023
Safety Verdict

Is User Location and IP Safe to Use in 2026?

Generally Safe

Score 100/100

User Location and IP has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Oct 3, 2023Updated 7mo ago
Risk Assessment

The 'user-location-and-ip' plugin v2.0 exhibits a generally good security posture due to its adherence to several WordPress security best practices. Notably, all SQL queries are prepared, and all identified output operations are properly escaped, significantly mitigating risks of SQL injection and cross-site scripting (XSS) vulnerabilities stemming from direct output. The absence of unprotected AJAX handlers, REST API routes, and cron events also limits the plugin's attack surface. However, there are several areas that warrant attention. The presence of one flow with unsanitized paths in taint analysis, even without critical or high severity, suggests a potential for vulnerabilities if not addressed. Furthermore, the lack of nonce checks on any entry points is a significant concern, as nonces are crucial for preventing Cross-Site Request Forgery (CSRF) attacks, especially on shortcodes that might perform actions. The plugin's vulnerability history shows one medium-severity CVE related to XSS, which, although patched, indicates a past weakness in input sanitization or output encoding that the current version should have fully addressed. While the current static analysis shows good practices, the past vulnerability and the taint flow merit careful review to ensure no residual risks remain.

Key Concerns

  • Flow with unsanitized paths identified in taint analysis
  • No nonce checks on any entry points (shortcode)
  • Past medium severity XSS vulnerability (even if patched)
Vulnerabilities
1

User Location and IP Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

User Location and IP <= 1.7 - Authenticated (Contributor+) Stored Cross-Site Scripting

Oct 3, 2023 Patched in 2.0 (737d)
Code Analysis
Analyzed Mar 16, 2026

User Location and IP Code Analysis

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

Output Escaping

100% escaped5 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<class.IP> (inc\class.IP.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

User Location and IP Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[useriploc] inc\user-ip-functions.php:84
WordPress Hooks 3
actionadmin_menuadmin\user-ip-menu.php:9
actionplugins_loadeduser-location-and-ip.php:35
actionadmin_noticesuser-location-and-ip.php:47
Maintenance & Trust

User Location and IP Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 29, 2025
PHP min version7.2
Downloads9K

Community Trust

Rating100/100
Number of ratings2
Active installs400
Developer Profile

User Location and IP Developer Profile

Sunny Bundel

1 plugin · 400 total installs

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

How We Detect User Location and IP

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/user-location-and-ip/flags//wp-content/plugins/user-location-and-ip/admin//wp-content/plugins/user-location-and-ip/inc/

HTML / DOM Fingerprints

Data Attributes
style="height:width:vertical-align:
Shortcode Output
<img src="
FAQ

Frequently Asked Questions about User Location and IP