Add Region by Country for WooCommerce Security & Risk Analysis

wordpress.org/plugins/add-region-by-country-for-woocommerce

Add Region by Country WooCommerce Add-on plug-in.

100 active installs v1.0.4 PHP + WP 5.0+ Updated Sep 9, 2024
add-custom-regionadd-region-by-countrycityshipping-zoneswoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Add Region by Country for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Add Region by Country 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 plugin 'add-region-by-country-for-woocommerce' v1.0.4 exhibits a strong security posture based on the provided static analysis. The absence of any identified entry points such as AJAX handlers, REST API routes, shortcodes, or cron events significantly reduces the attack surface. Furthermore, the code signals indicate a good practice regarding output escaping (93% properly escaped) and the presence of capability checks, albeit only one. The lack of dangerous functions, file operations, external HTTP requests, and documented vulnerability history are all positive indicators.

However, the analysis does highlight a notable concern: 100% of the SQL queries are not using prepared statements. This is a significant risk as it exposes the plugin to potential SQL injection vulnerabilities, especially if any of the data used in these queries originates from user input. While the taint analysis shows no flows with unsanitized paths, this could be due to the limited scope of the analysis or the specific data paths within the plugin. The absence of nonce checks on any potential entry points (even though none were identified) could also be a latent risk if new entry points were to be introduced without proper security measures.

In conclusion, the plugin has a generally good security foundation with a minimal attack surface and good output escaping. The primary and most significant weakness is the prevalent use of raw SQL queries without prepared statements, which demands immediate attention. The vulnerability history being clean is encouraging, but it doesn't negate the inherent risks identified in the code analysis.

Key Concerns

  • All SQL queries lack prepared statements
Vulnerabilities
None known

Add Region by Country for WooCommerce Security Vulnerabilities

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

Add Region by Country for WooCommerce Release Timeline

v1.0.4Current
Code Analysis
Analyzed Mar 16, 2026

Add Region by Country for WooCommerce Code Analysis

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

SQL Query Safety

0% prepared6 total queries

Output Escaping

93% escaped57 total outputs
Attack Surface

Add Region by Country for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionplugins_loadedcmetric_arbyw_class.php:14
actioninitcmetric_arbyw_class.php:37
actionadmin_enqueue_scriptscmetric_arbyw_class.php:38
actionadmin_noticescmetric_arbyw_class.php:66
actionadmin_menuincludes\cmetric_arbyw_setting_functions.php:15
filterwoocommerce_statesincludes\cmetric_arbyw_setting_functions.php:16
Maintenance & Trust

Add Region by Country for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedSep 9, 2024
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Add Region by Country for WooCommerce Developer Profile

C-Metric

6 plugins · 550 total installs

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

How We Detect Add Region by Country 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/add-region-by-country-for-woocommerce/includes/css/admin.css

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Add Region by Country for WooCommerce