Country Code Selector Security & Risk Analysis

wordpress.org/plugins/country-code-selector

Country Code Selector uses a JavaScript base to allow customers checking out in WooCommerce, Shopp eCommerce, Contact form 7, Gravity form plugins sel …

1K active installs v1.7 PHP 7.4+ WP 6.5+ Updated Jun 19, 2024
contact-form-7gravity-formphone-number-validatorshopp-checkoutwoocommerce-checkout
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Country Code Selector Safe to Use in 2026?

Generally Safe

Score 92/100

Country Code Selector has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The "country-code-selector" plugin v1.7 exhibits a generally positive security posture, with no recorded vulnerabilities or critical issues identified in static analysis or taint flows. The absence of dangerous functions, SQL injection risks (all queries use prepared statements), file operations, and external HTTP requests is commendable. However, a significant area of concern is the low percentage (27%) of properly escaped output. This indicates a potential for cross-site scripting (XSS) vulnerabilities if user-supplied data or dynamic content is not adequately sanitized before being displayed to the user.

The plugin also lacks nonce and capability checks on its entry points, which, although currently a small attack surface (0 entry points found), could become a significant risk if new functionalities are added without proper security measures. The vulnerability history being clean is a positive sign, suggesting responsible development and maintenance. Nevertheless, the unescaped output remains the most prominent weakness, requiring immediate attention to mitigate potential XSS attacks.

Key Concerns

  • Low output escaping percentage
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Country Code Selector Security Vulnerabilities

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

Country Code Selector Code Analysis

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

Output Escaping

27% escaped37 total outputs
Attack Surface

Country Code Selector Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
filterplugin_action_linksadmin\class-country-code-selector-admin.php:55
actionplugins_loadedincludes\class-country-code-selector.php:141
actionadmin_enqueue_scriptsincludes\class-country-code-selector.php:156
actionadmin_enqueue_scriptsincludes\class-country-code-selector.php:157
actionadmin_menuincludes\class-country-code-selector.php:158
actionadmin_initincludes\class-country-code-selector.php:159
actionwp_enqueue_scriptsincludes\class-country-code-selector.php:176
actionwp_enqueue_scriptsincludes\class-country-code-selector.php:177
actionwoocommerce_after_checkout_formincludes\class-country-code-selector.php:180
actionwoocommerce_after_checkout_validationincludes\class-country-code-selector.php:181
actionget_footerincludes\class-country-code-selector.php:185
actionget_footerincludes\class-country-code-selector.php:202
Maintenance & Trust

Country Code Selector Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedJun 19, 2024
PHP min version7.4
Downloads17K

Community Trust

Rating66/100
Number of ratings12
Active installs1K
Developer Profile

Country Code Selector Developer Profile

intolap

2 plugins · 3K total installs

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

How We Detect Country Code Selector

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/country-code-selector/admin/css/country-code-selector-admin.css/wp-content/plugins/country-code-selector/admin/js/country-code-selector-admin.js
Script Paths
https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.jshttps://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.jshttps://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
Version Parameters
country-code-selector/admin/css/country-code-selector-admin.css?ver=country-code-selector/admin/js/country-code-selector-admin.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Country Code Selector