Block Country Security & Risk Analysis

wordpress.org/plugins/block-country

Set country and IP to block your website. You can also set IP address to unblock for any special IP Address.

70 active installs v1.0 PHP + WP 3.2+ Updated Dec 10, 2013
block-countryblock-ip-addressunblock-any-ip-address
63
C · Use Caution
CVEs total1
Unpatched1
Last CVEOct 13, 2025
Safety Verdict

Is Block Country Safe to Use in 2026?

Use With Caution

Score 63/100

Block Country has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Oct 13, 2025Updated 12yr ago
Risk Assessment

The 'block-country' plugin v1.0 exhibits a mixed security posture. On the positive side, it demonstrates good practices by exclusively using prepared statements for its SQL queries and making no external HTTP requests. Furthermore, the static analysis reveals no dangerous functions, zero shortcodes, cron events, or obvious attack surface in terms of AJAX handlers or REST API routes. This suggests a conscious effort to avoid common entry points for attacks.

However, significant concerns arise from the output escaping and taint analysis. A concerning 0% of output is properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities where user-supplied data, if processed by the plugin, could be rendered unsafely in the browser. The taint analysis reveals three flows with unsanitized paths, all of which, while not classified as critical or high severity in this scan, represent potential vectors for data manipulation or unauthorized actions if an attacker can inject malicious input.

The vulnerability history also presents a substantial risk. The presence of one currently unpatched medium-severity CVE, identified as Cross-Site Request Forgery (CSRF), is a direct indicator of a known, exploitable flaw. The pattern of past vulnerabilities, though not detailed here, coupled with the unpatched CVE, suggests a recurring need for diligent security patching and code review within this plugin. While the plugin avoids many common pitfalls, the unaddressed CVE and lack of output sanitization are critical weaknesses that demand immediate attention.

Key Concerns

  • Currently unpatched medium CVE
  • 0% of output properly escaped
  • 3 unsanitized paths found in taint analysis
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
1 published

Block Country Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-48077medium · 4.3Cross-Site Request Forgery (CSRF)

Block Country <= 1.0 - Cross-Site Request Forgery

Oct 13, 2025Unpatched
Version History

Block Country Release Timeline

No version history available.
Code Analysis
Analyzed Mar 16, 2026

Block Country Code Analysis

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

SQL Query Safety

100% prepared3 total queries

Output Escaping

0% escaped7 total outputs
Data Flows · Security
3 unsanitized

Data Flow Analysis

3 flows3 with unsanitized paths
getLocationInfoByIp (block-country.php:373)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Block Country Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_menublock-country.php:292
actionwp_headblock-country.php:430
Maintenance & Trust

Block Country Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedDec 10, 2013
PHP min version
Downloads6K

Community Trust

Rating60/100
Number of ratings6
Active installs70
Developer Profile

Block Country Developer Profile

nitinmaurya12

5 plugins · 110 total installs

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

How We Detect Block Country

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/block-country/block-country.css/wp-content/plugins/block-country/js/block-country.js
Version Parameters
block-country/style.css?ver=block-country.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Block Country