Country & Phone Field Contact Form 7 Security & Risk Analysis

wordpress.org/plugins/country-phone-field-contact-form-7

Add country drop down with flags and phone number with country phone extension fields in contact form 7.

40K active installs v2.6.5 PHP 7.4+ WP 6.0+ Updated Mar 4, 2026
contact-form-7country-phone-fieldcountry-dropdown-plugininternational-telephone-inputwordpress-plugin
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Country & Phone Field Contact Form 7 Safe to Use in 2026?

Generally Safe

Score 100/100

Country & Phone Field Contact Form 7 has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The plugin 'country-phone-field-contact-form-7' v2.6.5 exhibits a generally strong security posture based on the provided static analysis. The absence of any known CVEs and a clean vulnerability history are significant strengths, indicating a history of robust security practices. The code analysis reveals a minimal attack surface with no registered AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, the plugin correctly utilizes prepared statements for all SQL queries and boasts a high percentage of properly escaped output, mitigating common vulnerabilities like SQL injection and XSS. The presence of capability checks and the limited external HTTP request are also positive signs.

However, there are two concerning signals from the taint analysis: two flows with unsanitized paths. While no critical or high severity issues were identified here, unsanitized paths can still lead to vulnerabilities if not handled carefully within the plugin's logic. The lack of nonce checks, though not explicitly linked to an unprotected entry point in this analysis, is a general security best practice for functions that perform sensitive operations. The plugin's strengths lie in its minimal attack surface and diligent use of database and output escaping. The primary area for improvement, albeit with no critical findings in this instance, is the handling of unsanitized paths and the consideration of nonce checks where applicable.

Key Concerns

  • Taint flow with unsanitized paths found
  • Taint flow with unsanitized paths found
  • No nonce checks detected
Vulnerabilities
None known

Country & Phone Field Contact Form 7 Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Country & Phone Field Contact Form 7 Release Timeline

v2.6.4
v2.6.3
v2.6.2
v2.6.1
Code Analysis
Analyzed Mar 16, 2026

Country & Phone Field Contact Form 7 Code Analysis

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

Output Escaping

93% escaped162 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
nb_cpf_autoCountryDetection (includes\include-js-css.php:334)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Country & Phone Field Contact Form 7 Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 15
actionplugins_loadedcountry-phone-field-contact-form-7.php:19
actionadmin_noticescountry-phone-field-contact-form-7.php:24
actionadmin_initcountry-phone-field-contact-form-7.php:25
actionadmin_noticescountry-phone-field-contact-form-7.php:27
actionwpcf7_initincludes\country-text.php:8
filterwpcf7_validate_countrytextincludes\country-text.php:98
filterwpcf7_validate_countrytext*includes\country-text.php:99
actionwpcf7_admin_initincludes\country-text.php:117
actionwp_enqueue_scriptsincludes\include-js-css.php:328
actionwpcf7_initincludes\phone-text.php:8
filterwpcf7_validate_phonetextincludes\phone-text.php:110
filterwpcf7_validate_phonetext*includes\phone-text.php:111
actionwpcf7_admin_initincludes\phone-text.php:176
actionadmin_menuincludes\settings.php:14
actionadmin_initincludes\settings.php:18
Maintenance & Trust

Country & Phone Field Contact Form 7 Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 4, 2026
PHP min version7.4
Downloads430K

Community Trust

Rating88/100
Number of ratings42
Active installs40K
Developer Profile

Country & Phone Field Contact Form 7 Developer Profile

Narinder Singh

2 plugins · 40K total installs

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

How We Detect Country & Phone Field Contact Form 7

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/country-phone-field-contact-form-7/assets/css/intlTelInput.min.css/wp-content/plugins/country-phone-field-contact-form-7/assets/css/countrySelect.min.css/wp-content/plugins/country-phone-field-contact-form-7/assets/js/intlTelInput.min.js/wp-content/plugins/country-phone-field-contact-form-7/assets/js/countrySelect.min.js
Script Paths
/wp-content/plugins/country-phone-field-contact-form-7/assets/js/intlTelInput.min.js/wp-content/plugins/country-phone-field-contact-form-7/assets/js/countrySelect.min.js

HTML / DOM Fingerprints

CSS Classes
wpcf7-countrytextwpcf7-phonetext
Data Attributes
data-country-codedata-country-namedata-dial-code
JS Globals
nbcpf
FAQ

Frequently Asked Questions about Country & Phone Field Contact Form 7