Coupons Role Restriction for WooCommerce Security & Risk Analysis

wordpress.org/plugins/runthings-wc-coupons-role-restrict

Restrict the usage of WooCommerce coupons based on user roles.

50 active installs v1.1.3 PHP 7.4+ WP 6.4+ Updated Jan 7, 2026
couponsdiscountrole-restrictionuser-roleswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Coupons Role Restriction for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Coupons Role Restriction for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The "runthings-wc-coupons-role-restrict" v1.1.3 plugin exhibits a strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, cron events, or file operations significantly limits the potential attack surface. Furthermore, the code demonstrates good development practices with 100% of SQL queries using prepared statements and a high percentage of output being properly escaped. The presence of nonce checks also indicates an attempt to protect against certain types of attacks.

Concerns are minimal given the data. The complete lack of any recorded vulnerabilities or CVEs in its history suggests a stable and secure plugin, or at least one that has not been a target. The only minor area for consideration is the absence of capability checks, which could be a point of hardening, although in the absence of an attack surface, its immediate impact is negligible. Overall, this plugin appears to be a secure and well-developed option.

Key Concerns

  • No capability checks found
Vulnerabilities
None known

Coupons Role Restriction for WooCommerce Security Vulnerabilities

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

Coupons Role Restriction for WooCommerce Code Analysis

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

Output Escaping

89% escaped27 total outputs
Attack Surface

Coupons Role Restriction for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_noticesrunthings-wc-coupons-role-restrict.php:57
actionadmin_noticesrunthings-wc-coupons-role-restrict.php:62
actionplugins_loadedrunthings-wc-coupons-role-restrict.php:66
actionadmin_enqueue_scriptsrunthings-wc-coupons-role-restrict.php:67
actionwoocommerce_coupon_options_usage_restrictionrunthings-wc-coupons-role-restrict.php:68
actionwoocommerce_coupon_options_saverunthings-wc-coupons-role-restrict.php:69
filterwoocommerce_coupon_is_validrunthings-wc-coupons-role-restrict.php:70
Maintenance & Trust

Coupons Role Restriction for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 7, 2026
PHP min version7.4
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs50
Developer Profile

Coupons Role Restriction for WooCommerce Developer Profile

runthings.dev

11 plugins · 2K total installs

94
trust score
Avg Security Score
100/100
Avg Patch Time
14 days
View full developer profile
Detection Fingerprints

How We Detect Coupons Role Restriction 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/runthings-wc-coupons-role-restrict/assets/css/admin-styles.css/wp-content/plugins/runthings-wc-coupons-role-restrict/assets/js/admin-scripts.js
Version Parameters
runthings-wc-coupons-role-restrict/assets/css/admin-styles.css?ver=runthings-wc-coupons-role-restrict/assets/js/admin-scripts.js?ver=

HTML / DOM Fingerprints

CSS Classes
runthings-wc-role-restriction-admin-notice
HTML Comments
Copyright 2024 Matthew HarrisThis program is free software; you can redistribute it and/or modifyunder the terms of the GNU General Public License, version 2, aspublished by the Free Software Foundation.+7 more
Data Attributes
data-placeholder="Any role"data-placeholder="No roles"
JS Globals
runthings_wc_coupons_role_restrict_nonce
FAQ

Frequently Asked Questions about Coupons Role Restriction for WooCommerce