Coupon By Roles For WooCommerce Security & Risk Analysis

wordpress.org/plugins/coupon-by-roles-for-woocommerce

The Coupon By Roles For WooCommerce plugin gives you more control over how you use coupons, making them smart and better. It’s a lightweight WooCommer …

100 active installs v0.6 PHP 5.6+ WP 4.0+ Updated Jul 8, 2021
coupon-by-roleswoocommerce-coupon-by-roleswoocommerce-couponswooocmmerce-coupon-restrictionwooocmmerce-roles
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Coupon By Roles For WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The plugin "coupon-by-roles-for-woocommerce" v0.6 exhibits a strong security posture based on the provided static analysis. The absence of any identified attack surface entry points, dangerous functions, direct SQL queries, file operations, or external HTTP requests is highly commendable. Furthermore, the lack of known CVEs in its history suggests a well-maintained and secure codebase.

However, a significant concern arises from the very low percentage of properly escaped output (17%). This indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities, as user-supplied data or dynamic content might be rendered without proper sanitization. The complete absence of nonce checks and capability checks, while seemingly mitigated by the lack of direct entry points, still represents a potential weakness if any new entry points were introduced in future versions or if existing ones are indirectly exploitable.

In conclusion, while the plugin demonstrates excellent adherence to secure coding principles in many areas, the critical under-escaping of output presents a substantial security risk that needs immediate attention. The lack of historical vulnerabilities is a positive sign, but it does not negate the immediate threat posed by the output escaping issue. Addressing the output escaping concerns is paramount to ensuring the plugin's overall security.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks on potential entry points
  • No capability checks on potential entry points
Vulnerabilities
None known

Coupon By Roles For WooCommerce Security Vulnerabilities

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

Coupon By Roles For WooCommerce Code Analysis

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

Output Escaping

17% escaped6 total outputs
Attack Surface

Coupon By Roles For WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionplugins_loadedcoupon-by-roles.php:20
actionwoocommerce_coupon_options_usage_restrictioninc\coupon-by-roles-woocommerce.php:11
actionwoocommerce_coupon_options_saveinc\coupon-by-roles-woocommerce.php:12
filterwoocommerce_coupon_is_validinc\coupon-by-roles-woocommerce.php:13
filtermanage_edit-shop_coupon_columnsinc\coupon-by-roles-woocommerce.php:16
actionmanage_shop_coupon_posts_custom_columninc\coupon-by-roles-woocommerce.php:17
Maintenance & Trust

Coupon By Roles For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.7.15
Last updatedJul 8, 2021
PHP min version5.6
Downloads4K

Community Trust

Rating100/100
Number of ratings2
Active installs100
Developer Profile

Coupon By Roles For WooCommerce Developer Profile

ZetaMatic

5 plugins · 7K total installs

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

How We Detect Coupon By Roles 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/coupon-by-roles-for-woocommerce/inc//wp-content/plugins/coupon-by-roles-for-woocommerce/

HTML / DOM Fingerprints

CSS Classes
wc-enhanced-select
Data Attributes
data-placeholder
FAQ

Frequently Asked Questions about Coupon By Roles For WooCommerce