Show State Field for WooCommerce Security & Risk Analysis

wordpress.org/plugins/show-state-field-for-woocommerce

By default, WooCommerce does not show Billing or Shipping State field on checkout page for many countries like Afghanistan, Austria, Åland Islands, …

100 active installs v1.2 PHP 8.0+ WP 6.3.2+ Updated Apr 15, 2025
hidden-state-field-for-woocommerceshow-state-field
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Show State Field for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Show State Field for WooCommerce 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 "show-state-field-for-woocommerce" plugin, version 1.2, exhibits a generally strong security posture based on the provided static analysis. The complete absence of identified attack vectors such as AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the plugin's potential for exploitation. Furthermore, the exclusive use of prepared statements for SQL queries and the lack of file operations or external HTTP requests are excellent security practices. The presence of a nonce check is also a positive indicator of security awareness.

However, a notable concern arises from the low percentage of properly escaped output (29%). This indicates a significant risk of Cross-Site Scripting (XSS) vulnerabilities, as user-supplied or dynamically generated data may not be adequately sanitized before being displayed to users. While the taint analysis did not reveal any flows with unsanitized paths, this is likely due to the limited attack surface and the absence of complex data flows within the plugin, rather than a guarantee of absolute safety. The vulnerability history being empty is a positive sign, suggesting the plugin has not had publicly known security issues, but this should not be relied upon as a sole indicator of security, especially given the output escaping concerns.

In conclusion, the plugin has several robust security features, particularly in its limited attack surface and secure database interaction. The primary weakness lies in its output escaping, which introduces a tangible risk of XSS. Developers should prioritize addressing the output escaping to achieve a more secure overall product.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Show State Field for WooCommerce Security Vulnerabilities

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

Show State Field for WooCommerce Release Timeline

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

Show State Field for WooCommerce Code Analysis

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

Output Escaping

29% escaped24 total outputs
Attack Surface

Show State Field for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_enqueue_scriptswoo-checkout-hidden-state-field.php:74
actionadmin_menuwoo-checkout-hidden-state-field.php:81
filterwoocommerce_stateswoo-checkout-hidden-state-field.php:341
filterwoocommerce_get_country_localewoo-checkout-hidden-state-field.php:359
Maintenance & Trust

Show State Field for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedApr 15, 2025
PHP min version8.0
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Alternatives

Show State Field for WooCommerce Alternatives

No alternatives data available yet.

Developer Profile

Show State Field for WooCommerce Developer Profile

JC

8 plugins · 5K total installs

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

How We Detect Show State Field for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/fontawesome/all.css/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/bootstrap/css/bootstrap.min.css/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/owl-carousel/css/owl.carousel.min.css/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/owl-carousel/css/owl.theme.default.min.css/wp-content/plugins/show-state-field-for-woocommerce/assets/css/wchsf-admin.css/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/popper/popper.min.js/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/bootstrap/js/bootstrap.min.js/wp-content/plugins/show-state-field-for-woocommerce/assets/libs/owl-carousel/js/owl.carousel.min.js+1 more
Script Paths
assets/libs/popper/popper.min.jsassets/libs/bootstrap/js/bootstrap.min.jsassets/libs/owl-carousel/js/owl.carousel.min.jsassets/js/wchsf-admin.js
Version Parameters
woo-show-state-field_fontawesome_minwoo-show-state-field_bootstrap_minwoo-show-state-field-owl-carousel-csswoo-show-state-field-owl-carousel-themewoo-show-state-field_adminwoo-show-state-field_popperwoo-show-state-field_bootstrap_minwoo-show-state-field-owl-carousel-jswoo-show-state-field_admin

HTML / DOM Fingerprints

CSS Classes
wchsf_support_page
HTML Comments
define plugin pathsexit if accessed directlyInclude css js filesAdmin Dashboard Style+5 more
Data Attributes
name="wchsf_setting[wchsf_countries][AF]"name="wchsf_setting[wchsf_countries][AX]"name="wchsf_setting[wchsf_countries][AT]"name="wchsf_setting[wchsf_countries][BH]"name="wchsf_setting[wchsf_countries][BE]"name="wchsf_setting[wchsf_countries][BJ]"+88 more
JS Globals
MyAjax
FAQ

Frequently Asked Questions about Show State Field for WooCommerce