Country State City Dropdown CF7 Security & Risk Analysis

wordpress.org/plugins/country-state-city-auto-dropdown

Add country state city dropdown CF7 in contact form 7 plugin. In PRO you can use these features on any type of form.

5K active installs v2.7.6 PHP 5.6+ WP 4.8+ Updated Jun 30, 2025
citiescontact-form-7country-dropdownformsstates
96
A · Safe
CVEs total2
Unpatched0
Last CVEMay 21, 2024
Download
Safety Verdict

Is Country State City Dropdown CF7 Safe to Use in 2026?

Generally Safe

Score 96/100

Country State City Dropdown CF7 has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

2 known CVEsLast CVE: May 21, 2024Updated 10mo ago
Risk Assessment

The plugin "country-state-city-auto-dropdown" version 2.7.6 exhibits a generally good security posture with several strengths. The static analysis shows a strong adherence to secure coding practices, with all identified AJAX handlers and REST API routes properly authenticated and authorized. A high percentage of SQL queries utilize prepared statements, and output escaping is also robust, with over 90% of outputs properly escaped. The absence of dangerous functions, file operations, and external HTTP requests further reduces the attack surface. The taint analysis also revealed no critical or high severity issues with unsanitized paths.

However, the plugin's vulnerability history presents a significant concern. It has a history of two known CVEs, including one critical vulnerability, despite the latest vulnerability being recorded only recently in May 2024 and being marked as currently unpatched. The common vulnerability types noted (SQL Injection and Missing Authorization) are serious and directly address fundamental security controls that should be present. While the current code analysis suggests these specific issues might have been addressed or were not present in this version, the historical pattern of critical vulnerabilities, particularly SQL Injection, warrants caution. The presence of only 3 nonces and 1 capability check across 5 entry points, while not indicative of immediate compromise in this specific version's analysis, could be a contributing factor to past vulnerabilities if not implemented strategically. Therefore, while the current code appears to have addressed many security best practices, the past critical vulnerabilities suggest a potential for recurring issues or a need for more stringent and comprehensive security audits.

In conclusion, the "country-state-city-auto-dropdown" plugin version 2.7.6 demonstrates a solid foundation of secure coding in its current state, with strong authentication, authorization, SQL sanitization, and output escaping. The absence of immediate critical flaws in the static and taint analysis is a positive sign. Nevertheless, the plugin's past critical vulnerabilities, particularly in SQL injection and authorization, remain a notable weakness. Users should exercise caution and ensure the plugin is always updated to the latest version as soon as security patches are released, given the history of critical flaws.

Key Concerns

  • Unpatched critical CVE in vulnerability history
  • Past critical CVEs indicate potential for recurring issues
  • History of SQL Injection vulnerabilities
  • History of Missing Authorization vulnerabilities
Vulnerabilities
2 published

Country State City Dropdown CF7 Security Vulnerabilities

CVEs by Year

2 CVEs in 2024
2024
Patched Has unpatched

Severity Breakdown

Critical
1
Medium
1

2 total CVEs

CVE-2024-3495critical · 9.8Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Country State City Dropdown CF7 <= 2.7.2 - Unauthenticated SQL Injection

May 21, 2024 Patched in 2.7.3 (1d)
CVE-2024-3520medium · 4.3Missing Authorization

Country State City Dropdown CF7 <= 2.7.1 - Missing Authorization

Apr 15, 2024 Patched in 2.7.2 (18d)
Version History

Country State City Dropdown CF7 Release Timeline

Code Analysis
Analyzed Mar 16, 2026

Country State City Dropdown CF7 Code Analysis

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

SQL Query Safety

83% prepared23 total queries

Output Escaping

93% escaped29 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

4 flows
tc_csca_get_states (includes\ajax-actions.php:8)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Country State City Dropdown CF7 Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 5

authwp_ajax_tc_csca_get_statesincludes\ajax-actions.php:6
noprivwp_ajax_tc_csca_get_statesincludes\ajax-actions.php:7
authwp_ajax_tc_csca_get_citiesincludes\ajax-actions.php:32
noprivwp_ajax_tc_csca_get_citiesincludes\ajax-actions.php:33
authwp_ajax_tc_csca_patch_settingsincludes\ajax-actions.php:59
WordPress Hooks 20
actionplugins_loadedcountry-state-city-dropdown-cf7.php:23
actionadmin_enqueue_scriptscountry-state-city-dropdown-cf7.php:28
actionadmin_noticescountry-state-city-dropdown-cf7.php:31
actionadmin_noticescountry-state-city-dropdown-cf7.php:138
filterplugin_row_metacountry-state-city-dropdown-cf7.php:174
actionwpcf7_initincludes\city-dropdown.php:11
filterwpcf7_validate_city_autoincludes\city-dropdown.php:54
filterwpcf7_validate_city_auto*includes\city-dropdown.php:55
actionwpcf7_admin_initincludes\city-dropdown.php:71
actionwpcf7_initincludes\country-dropdown.php:11
filterwpcf7_validate_country_autoincludes\country-dropdown.php:55
filterwpcf7_validate_country_auto*includes\country-dropdown.php:56
actionwpcf7_admin_initincludes\country-dropdown.php:72
actionwp_enqueue_scriptsincludes\include-js-css.php:14
actionadmin_enqueue_scriptsincludes\include-js-css.php:25
actionadmin_menuincludes\patch-setting-page.php:10
actionwpcf7_initincludes\state-dropdown.php:11
filterwpcf7_validate_state_autoincludes\state-dropdown.php:53
filterwpcf7_validate_state_auto*includes\state-dropdown.php:54
actionwpcf7_admin_initincludes\state-dropdown.php:70
Maintenance & Trust

Country State City Dropdown CF7 Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJun 30, 2025
PHP min version5.6
Downloads60K

Community Trust

Rating98/100
Number of ratings30
Active installs5K
Developer Profile

Country State City Dropdown CF7 Developer Profile

Trusty Plugins

5 plugins · 11K total installs

94
trust score
Avg Security Score
91/100
Avg Patch Time
7 days
View full developer profile
Detection Fingerprints

How We Detect Country State City Dropdown CF7

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/country-state-city-auto-dropdown/assets/js/script-meta.min.js
Script Paths
/wp-content/plugins/country-state-city-auto-dropdown/assets/js/script-meta.min.js
Version Parameters
country-state-city-auto-dropdown/style.css?ver=country-state-city-auto-dropdown/assets/js/script-meta.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
tc_auto_plugin_meta_pro
Data Attributes
id="tc_auto_plugin_meta_pro"
JS Globals
tc_csca_auto_ajax_meta
Shortcode Output
<h3 style='background-color:#f7f7f7'>Country State City Dropdown CF7</h3>
FAQ

Frequently Asked Questions about Country State City Dropdown CF7