Shipping by Rules for WooCommerce Security & Risk Analysis

wordpress.org/plugins/shipping-by-rules-for-woocommerce

Describe (even complex) shipping costs with simple general rules on the order properties (amount, postcode, weight, #products and/or articles etc.).

500 active installs v2.0.6 PHP + WP 4.0+ Updated Feb 24, 2018
rules-shippingshipmentshippingwoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Shipping by Rules for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Shipping by Rules for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The "shipping-by-rules-for-woocommerce" v2.0.6 plugin exhibits a mixed security posture. On the positive side, it demonstrates strong practices regarding SQL queries, utilizing prepared statements exclusively, and shows a good adherence to nonce and capability checks for its entry points. There are no identified critical or high severity taint flows, and the absence of known vulnerabilities in its history is also encouraging. However, a significant concern arises from its attack surface. The plugin exposes two AJAX handlers, both of which lack authentication checks. This represents a clear risk, as any unauthenticated user could potentially interact with these handlers. While the taint analysis found no critical or high severity issues, the presence of flows with unsanitized paths, even if not immediately exploitable to critical levels, warrants attention as it indicates potential avenues for unexpected behavior or information leakage. The 71% output escaping rate, while not critically low, suggests that there are still opportunities for cross-site scripting (XSS) vulnerabilities if untrusted data is being rendered without proper sanitization. In conclusion, the plugin has several strong security foundations, particularly in database interaction and internal authorization mechanisms. Nevertheless, the unprotected AJAX endpoints are a notable weakness that requires immediate attention to prevent potential exploits. The partial output escaping also presents a moderate risk that should be addressed.

Key Concerns

  • Unprotected AJAX handlers
  • Flows with unsanitized paths found
  • Output escaping is not 100%
Vulnerabilities
None known

Shipping by Rules for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Shipping by Rules for WooCommerce Code Analysis

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

Output Escaping

71% escaped181 total outputs
Data Flows
6 unsanitized

Data Flow Analysis

6 flows6 with unsanitized paths
shipping_rules_add_ruleset (includes\rules-shipping-post-type.php:195)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Shipping by Rules for WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_shipping_rules_add_rulesetincludes\rules-shipping-post-type.php:44
authwp_ajax_shipping_rules_add_rulesetlegacy-includes\legacy-rules-shipping-post-type.php:44
WordPress Hooks 23
filterwoocommerce_admin_field_opentools_shippingbyrules_helpincludes\rules-shipping-method.php:68
actioninitincludes\rules-shipping-post-type.php:30
actionadd_meta_boxes_shipping_rulesincludes\rules-shipping-post-type.php:33
actionsave_post_shipping_rulesincludes\rules-shipping-post-type.php:34
actionsave_post_shipping_rulesincludes\rules-shipping-post-type.php:35
filterpost_updated_messagesincludes\rules-shipping-post-type.php:38
actionload-edit.phpincludes\rules-shipping-post-type.php:41
filterwoocommerce_admin_field_opentools_shippingbyrules_upgradelegacy-includes\legacy-rules-shipping-method.php:63
actioninitlegacy-includes\legacy-rules-shipping-post-type.php:30
actionadd_meta_boxes_shipping_ruleslegacy-includes\legacy-rules-shipping-post-type.php:33
actionsave_post_shipping_ruleslegacy-includes\legacy-rules-shipping-post-type.php:34
actionsave_post_shipping_ruleslegacy-includes\legacy-rules-shipping-post-type.php:35
filterpost_updated_messageslegacy-includes\legacy-rules-shipping-post-type.php:38
actionload-edit.phplegacy-includes\legacy-rules-shipping-post-type.php:41
actionwoocommerce_shipping_initlegacy-woocommerce-shipping-by-rules.php:96
actionwoocommerce_shipping_methodslegacy-woocommerce-shipping-by-rules.php:97
actionadmin_enqueue_scriptslegacy-woocommerce-shipping-by-rules.php:98
actionadmin_noticeswoocommerce-shipping-by-rules.php:77
filterplugin_row_metawoocommerce-shipping-by-rules.php:131
actionplugins_loadedwoocommerce-shipping-by-rules.php:190
actionwoocommerce_shipping_initwoocommerce-shipping-by-rules.php:193
actionwoocommerce_shipping_methodswoocommerce-shipping-by-rules.php:196
actionadmin_enqueue_scriptswoocommerce-shipping-by-rules.php:199
Maintenance & Trust

Shipping by Rules for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedFeb 24, 2018
PHP min version
Downloads25K

Community Trust

Rating90/100
Number of ratings8
Active installs500
Developer Profile

Shipping by Rules for WooCommerce Developer Profile

Open Tools

1 plugin · 500 total installs

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

How We Detect Shipping by Rules 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/shipping-by-rules-for-woocommerce/js/admin.js/wp-content/plugins/shipping-by-rules-for-woocommerce/css/admin.css
Script Paths
/wp-content/plugins/shipping-by-rules-for-woocommerce/js/admin.js
Version Parameters
shipping-by-rules-for-woocommerce/js/admin.js?ver=shipping-by-rules-for-woocommerce/css/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
shipping_by_rules_settings
HTML Comments
ONLY IN BASIC VERSION: Purchase link
JS Globals
var openshipping_admin_params
FAQ

Frequently Asked Questions about Shipping by Rules for WooCommerce