iQ Block Country Security & Risk Analysis

wordpress.org/plugins/iq-block-country

Allow or disallow visitors from certain countries accessing (parts of) your website

20K active installs v1.2.26 PHP 7.4+ WP 3.5.2+ Updated Mar 13, 2026
ban-countriesblockblock-countriesblock-spamgeoblocking
99
A · Safe
CVEs total5
Unpatched0
Last CVESep 26, 2022
Safety Verdict

Is iQ Block Country Safe to Use in 2026?

Generally Safe

Score 99/100

iQ Block Country has a strong security track record. Known vulnerabilities have been patched promptly.

5 known CVEsLast CVE: Sep 26, 2022Updated 21d ago
Risk Assessment

The 'iq-block-country' plugin, version 1.2.26, presents a mixed security posture. While the static analysis reveals a commendable lack of direct attack surface entry points like unprotected AJAX handlers, REST API routes, or shortcodes, and no identified taint flows, there are significant areas of concern. The plugin's historical vulnerability record is alarming, with a total of 5 known CVEs, all of medium severity. These past vulnerabilities indicate a pattern of security weaknesses, specifically including Authentication Bypass, Authorization Bypass, External Control of File Name or Path, and Cross-Site Scripting. The fact that all past vulnerabilities are currently unpatched is a major red flag.

Despite the absence of immediate threats in the current static analysis, the historical data strongly suggests a propensity for the plugin to harbor security flaws. The presence of raw SQL queries without prepared statements, even if only one is found, coupled with a relatively high percentage of unescaped output (20%), indicates potential vulnerabilities that might have been missed or have yet to be exploited. The bundled Guzzle library, while not inherently problematic, requires attention to ensure it's up-to-date and doesn't introduce its own vulnerabilities. The absence of capability checks on entry points is also a concern, although currently the entry points are zero. Overall, while the current version appears to have addressed immediate static analysis threats, the plugin's history warrants extreme caution and suggests that users should remain vigilant and prioritize updating to a version that has demonstrably fixed all past security issues.

Key Concerns

  • Past vulnerabilities present (medium severity)
  • Raw SQL without prepared statements
  • Unescaped output (20% of outputs)
  • Bundled library (Guzzle) - potential for outdatedness
Vulnerabilities
5

iQ Block Country Security Vulnerabilities

CVEs by Year

1 CVE in 2015
2015
1 CVE in 2021
2021
3 CVEs in 2022
2022
Patched Has unpatched

Severity Breakdown

Medium
5

5 total CVEs

CVE-2022-41155medium · 5.3Authentication Bypass by Primary Weakness

iQ Block Country <= 1.2.18 - Country Blocking Bypass

Sep 26, 2022 Patched in 1.2.19 (484d)
CVE-2022-1762medium · 5.3Authorization Bypass Through User-Controlled Key

iQ Block Country <= 1.2.13 - Protection Bypass due to IP Spoofing

May 17, 2022 Patched in 1.2.17 (616d)
CVE-2022-0246medium · 6.8External Control of File Name or Path

iQ Block Country < 1.2.13 - Admin+ Arbitrary File Deletion via Zip Slip

Mar 16, 2022 Patched in 1.2.13 (678d)
CVE-2021-36873medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WordPress iQ Block Country <= 1.2.11 - Authenticated Stored Cross-Site Scripting

Sep 22, 2021 Patched in 1.2.12 (852d)
WF-dcdb5d23-b9fe-495b-8431-f82f22813531-iq-block-countrymedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

iQ Block Country < 1.1.20 - Reflected Cross-Site Scripting

Aug 24, 2015 Patched in 1.1.20 (3074d)
Code Analysis
Analyzed Mar 16, 2026

iQ Block Country Code Analysis

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

Bundled Libraries

Guzzle

SQL Query Safety

0% prepared1 total queries

Output Escaping

80% escaped5 total outputs
Attack Surface

iQ Block Country Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 15
actionadmin_enqueue_scriptsiq-block-country.php:248
actioninitiq-block-country.php:255
actionwpiq-block-country.php:258
actionadmin_initiq-block-country.php:266
actionadmin_menuiq-block-country.php:267
filterupdate_option_blockcountry_trackingiq-block-country.php:268
filteradd_option_blockcountry_trackingiq-block-country.php:269
filterupdate_option_blockcountry_apikeyiq-block-country.php:270
filteradd_option_blockcountry_apikeyiq-block-country.php:271
filterupdate_option_blockcountry_debugloggingiq-block-country.php:273
filteradd_option_blockcountry_debugloggingiq-block-country.php:274
actionblockcountry_trackingiq-block-country.php:275
actionblockcountry_retrievebanlistiq-block-country.php:276
actioninitiq-block-country.php:278
actionshutdowniq-block-country.php:279
Maintenance & Trust

iQ Block Country Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 13, 2026
PHP min version7.4
Downloads1.2M

Community Trust

Rating78/100
Number of ratings163
Active installs20K
Developer Profile

iQ Block Country Developer Profile

Pascal

1 plugin · 20K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
1141 days
View full developer profile
Detection Fingerprints

How We Detect iQ 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/iq-block-country/chosen.css/wp-content/plugins/iq-block-country/js/chosen.jquery.js/wp-content/plugins/iq-block-country/js/chosen.custom.js
Version Parameters
iq-block-country/chosen.css?ver=iq-block-country/js/chosen.jquery.js?ver=iq-block-country/js/chosen.custom.js?ver=

HTML / DOM Fingerprints

JS Globals
CHOSENJSCHOSENCSSCHOSENCUSTOMIQBCMAXMINDURLIQBCGEOIP2DBFILEIQBCTRACKINGURL+12 more
FAQ

Frequently Asked Questions about iQ Block Country