Country and State Selection Addon for Gravity Forms Security & Risk Analysis

wordpress.org/plugins/gforms-addon-for-country-and-state-selection

Country and State Selection Addon for Gravity Forms lets you easily add dynamic country and state dropdown fields to your Gravity Forms.

1K active installs v1.2 PHP 8.1+ WP 4.9.10+ Updated Jul 17, 2025
address-fieldscountry-dropdownform-buildergravity-formsstate-dropdown
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Country and State Selection Addon for Gravity Forms Safe to Use in 2026?

Generally Safe

Score 100/100

Country and State Selection Addon for Gravity Forms has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8mo ago
Risk Assessment

The plugin "gforms-addon-for-country-and-state-selection" v1.2 presents a concerning security posture primarily due to a significant number of unprotected AJAX handlers. While the plugin demonstrates good practices in its handling of SQL queries, using prepared statements exclusively, and a reasonable percentage of output escaping, the lack of authentication checks on all identified entry points creates a substantial attack surface.

The static analysis reveals 4 AJAX handlers, and alarmingly, all 4 lack authorization checks. This means any unauthenticated user could potentially trigger these handlers, leading to unintended actions or information disclosure. The absence of taint analysis flows and file operations, alongside zero external HTTP requests, are positive indicators, suggesting no immediate risks in these specific areas. Furthermore, the plugin's history of zero recorded CVEs is a positive sign, implying a generally stable codebase or diligent patching by developers/users in the past.

However, the unprotected AJAX handlers are a critical weakness that overshadows the positive aspects. The lack of nonces and capability checks on these handlers directly exposes them to various attack vectors. While the vulnerability history is clean, it doesn't negate the inherent risks introduced by the exposed attack surface. A balanced conclusion is that the plugin has some good internal coding practices regarding data handling, but its external security is significantly compromised by its unprotected AJAX endpoints.

Key Concerns

  • Unprotected AJAX handlers
  • No nonce checks on AJAX handlers
  • No capability checks on AJAX handlers
  • Low output escaping percentage
Vulnerabilities
None known

Country and State Selection Addon for Gravity Forms Security Vulnerabilities

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

Country and State Selection Addon for Gravity Forms Release Timeline

v1.2Current
v1.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Country and State Selection Addon for Gravity Forms Code Analysis

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

Output Escaping

79% escaped42 total outputs
Attack Surface
4 unprotected

Country and State Selection Addon for Gravity Forms Attack Surface

Entry Points4
Unprotected4

AJAX Handlers 4

authwp_ajax_Ajax_GFCWS_Filter_Recordincludes\functions.php:11
noprivwp_ajax_Ajax_GFCWS_Filter_Recordincludes\functions.php:12
authwp_ajax_Ajax_GFCWS_Filterincludes\functions.php:13
noprivwp_ajax_Ajax_GFCWS_Filterincludes\functions.php:14
WordPress Hooks 7
actiongform_editor_js_set_default_valuesclass-gf-cws-fields.php:25
actiongform_editor_jsclass-gf-cws-fields.php:32
filtergform_enable_field_label_visibility_settingsclass-gf-cws-fields.php:33
filtergform_tooltipsclass-gf-cws-fields.php:34
actiongform_field_standard_settingsclass-gf-cws-fields.php:35
actiongform_field_advanced_settingsclass-gf-cws-fields.php:36
actiongform_loadedindex.php:34
Maintenance & Trust

Country and State Selection Addon for Gravity Forms Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 17, 2025
PHP min version8.1
Downloads13K

Community Trust

Rating80/100
Number of ratings4
Active installs1K
Developer Profile

Country and State Selection Addon for Gravity Forms Developer Profile

JC

8 plugins · 5K total installs

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

How We Detect Country and State Selection Addon for Gravity Forms

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gforms-addon-for-country-and-state-selection/assets/js/fields.js/wp-content/plugins/gforms-addon-for-country-and-state-selection/assets/js/admin.js/wp-content/plugins/gforms-addon-for-country-and-state-selection/assets/css/admin.css
Script Paths
assets/js/fields.jsassets/js/admin.js
Version Parameters
gforms-addon-for-country-and-state-selection/assets/js/fields.js?ver=gforms-addon-for-country-and-state-selection/assets/js/admin.js?ver=gforms-addon-for-country-and-state-selection/assets/css/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
field_default_valuefield_state_value
Data Attributes
field_default_valuefield_state_value
JS Globals
gfcws_addon_script_jsgfcws_addon_admin_js
FAQ

Frequently Asked Questions about Country and State Selection Addon for Gravity Forms