Region Detect Security & Risk Analysis

wordpress.org/plugins/regiondetect

A plugin that allows personalisation by displaying the visitors country name in posts and pages.

10 active installs v1.02.05 PHP + WP 3.1.2+ Updated Oct 17, 2013
country-detectiongeolocationlocalisationlocalization
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Region Detect Safe to Use in 2026?

Generally Safe

Score 85/100

Region Detect has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "regiondetect" plugin v1.02.05 exhibits a mixed security posture. On the positive side, there are no recorded CVEs, no bundled libraries, and a seemingly small attack surface with zero identified entry points that lack authentication or authorization checks. However, significant concerns arise from the static analysis. A striking 0% of its 14 output operations are properly escaped, posing a high risk of Cross-Site Scripting (XSS) vulnerabilities. Furthermore, the taint analysis reveals two high-severity flows with unsanitized paths, indicating potential for code injection or other dangerous operations if these paths are triggered by user input. While the plugin uses prepared statements for a majority of its SQL queries (71%), the remaining queries could still be susceptible to SQL injection if not handled carefully. The lack of capability checks is also a weakness, as it means that actions within the plugin might not be properly restricted to authorized users.

Key Concerns

  • 0% of outputs properly escaped
  • 2 high severity taint flows with unsanitized paths
  • No capability checks found
Vulnerabilities
None known

Region Detect Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Region Detect Code Analysis

Dangerous Functions
0
Raw SQL Queries
7
17 prepared
Unescaped Output
14
0 escaped
Nonce Checks
2
Capability Checks
0
File Operations
9
External Requests
0
Bundled Libraries
0

SQL Query Safety

71% prepared24 total queries

Output Escaping

0% escaped14 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
regiondetect_main (regiondetect.php:238)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Region Detect Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menuinterface.php:3
actionnetwork_admin_menuinterface.php:4
actioninitregiondetect.php:46
filterthe_contentregiondetect.php:47
Maintenance & Trust

Region Detect Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedOct 17, 2013
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Region Detect Developer Profile

joebrewer

2 plugins · 40 total installs

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

How We Detect Region Detect

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

Asset Fingerprints

Version Parameters
regiondetect/style.css?ver=regiondetect/script.js?ver=

HTML / DOM Fingerprints

JS Globals
regiondetect
Shortcode Output
%%COUNTRYCODE%%%%COUNTRYNAME%%
FAQ

Frequently Asked Questions about Region Detect