Better Coupon Restrictions for WooCommerce Security & Risk Analysis

wordpress.org/plugins/better-coupon-restrictions

Additional restrictions and options for your WooCommerce coupons.

30 active installs v1.0.4 PHP + WP 4.7+ Updated Jun 13, 2025
couponcouponsrestrictrestrictions
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Better Coupon Restrictions for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Better Coupon Restrictions for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11mo ago
Risk Assessment

The "better-coupon-restrictions" plugin v1.0.4 exhibits a generally good security posture based on the provided static analysis and vulnerability history. The plugin has no recorded CVEs and adheres to several WordPress security best practices, including the exclusive use of prepared statements for SQL queries and the implementation of nonce and capability checks. The limited attack surface, with only one AJAX handler and no shortcodes, cron events, or REST API routes, further contributes to its apparent security. However, a significant concern is the 50% rate of improperly escaped output. This indicates a potential for Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is directly rendered without proper sanitization. While taint analysis shows no flows with unsanitized paths, this could be due to the limited scope of the analysis or the specific nature of the plugin's operations. The absence of known vulnerabilities in its history is a positive sign, suggesting a responsible development approach, but it doesn't negate the risks identified in the static analysis.

Key Concerns

  • Half of outputs are not properly escaped
Vulnerabilities
None known

Better Coupon Restrictions for WooCommerce Security Vulnerabilities

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

Better Coupon Restrictions for WooCommerce Release Timeline

v1.0.4Current
Code Analysis
Analyzed Mar 16, 2026

Better Coupon Restrictions for WooCommerce Code Analysis

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

Bundled Libraries

Freemius1.0

Output Escaping

50% escaped257 total outputs
Attack Surface

Better Coupon Restrictions for WooCommerce Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_get_product_variationsinc\coupon-product-restrictions.php:575
WordPress Hooks 18
actionadmin_enqueue_scriptscoupon-restrictions.php:67
actionbefore_woocommerce_initcoupon-restrictions.php:94
actionbcrw_coupon_options_usage_restrictioninc\coupon-product-restrictions.php:7
actionwoocommerce_coupon_options_saveinc\coupon-product-restrictions.php:413
actionwoocommerce_coupon_options_saveinc\coupon-product-restrictions.php:461
actionwoocommerce_coupon_options_saveinc\coupon-product-restrictions.php:506
actionadmin_footerinc\coupon-product-restrictions.php:548
filterwoocommerce_coupon_data_tabsinc\coupon-restrictions.php:7
actionwoocommerce_coupon_data_panelsinc\coupon-restrictions.php:34
actionwoocommerce_coupon_options_saveinc\coupon-restrictions.php:554
actionadd_meta_boxesinc\coupon-restrictions.php:617
filterwoocommerce_coupon_is_validinc\validate-products.php:7
filterwoocommerce_coupon_get_discount_amountinc\validate-products.php:67
filterwoocommerce_coupon_is_validinc\validate-products.php:109
filterwoocommerce_coupon_get_discount_amountinc\validate-products.php:168
filterwoocommerce_coupon_is_validinc\validate-products.php:209
filterwoocommerce_coupon_get_discount_amountinc\validate-products.php:271
filterwoocommerce_coupon_is_validinc\validate.php:7
Maintenance & Trust

Better Coupon Restrictions for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJun 13, 2025
PHP min version
Downloads939

Community Trust

Rating0/100
Number of ratings0
Active installs30
Developer Profile

Better Coupon Restrictions for WooCommerce Developer Profile

Elliot Sowersby / RelyWP

8 plugins · 146K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
206 days
View full developer profile
Detection Fingerprints

How We Detect Better Coupon Restrictions 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/better-coupon-restrictions/js/admin-scripts.js/wp-content/plugins/better-coupon-restrictions/js/products-dropdown.js/wp-content/plugins/better-coupon-restrictions/css/admin-styles.css
Script Paths
/wp-content/plugins/better-coupon-restrictions/js/admin-scripts.js/wp-content/plugins/better-coupon-restrictions/js/products-dropdown.js

HTML / DOM Fingerprints

CSS Classes
bcrw_coupon_options_usage_restriction
Data Attributes
name="bcrw_enable_product_restrictions"name="bcrw_product_conditions"name="bcrw_products[]"name="bcrw_category_conditions"name="bcrw_categories[]"
JS Globals
bcrwAjax
FAQ

Frequently Asked Questions about Better Coupon Restrictions for WooCommerce