Restrict By Category for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-restrict-by-category

Restrict access to WooCommerce product categories.

10 active installs v1.1 PHP + WP 3.3+ Updated Jul 12, 2024
accesscategoryrestrictionsecuritywoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Restrict By Category for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Restrict By Category 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 "woo-restrict-by-category" plugin v1.1 presents a moderate security risk due to its unprotected AJAX handlers. While the plugin demonstrates good practices in other areas, such as using prepared statements for all SQL queries and a high percentage of properly escaped output, the lack of authentication on three AJAX entry points is a significant concern. This oversight opens the door for unauthenticated users to potentially trigger plugin functionalities, which could lead to unintended consequences or be leveraged in conjunction with other vulnerabilities.

The static analysis reveals no dangerous functions, file operations, or external HTTP requests, which are positive signs. Furthermore, the plugin has no recorded vulnerability history, suggesting a generally well-maintained codebase. However, the absence of nonce checks and capability checks on these AJAX handlers, combined with the lack of taint analysis (which may be due to the limited scope of the analysis or absence of complex data flows), means that potential vulnerabilities within these handlers are not being mitigated.

In conclusion, while the plugin benefits from solid SQL handling and output escaping, the unprotected AJAX endpoints are its primary weakness. The absence of any known vulnerabilities is a strong point, but it doesn't negate the inherent risks introduced by these exposed entry points. Future development should prioritize implementing proper authentication and authorization mechanisms for all AJAX requests to strengthen the plugin's security posture.

Key Concerns

  • 3 unprotected AJAX handlers
  • 0 Nonce checks on AJAX
  • 0 Capability checks on AJAX
Vulnerabilities
None known

Restrict By Category for WooCommerce Security Vulnerabilities

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

Restrict By Category for WooCommerce Release Timeline

No version history available.
Code Analysis
Analyzed Mar 17, 2026

Restrict By Category for WooCommerce Code Analysis

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

Bundled Libraries

Select2

SQL Query Safety

100% prepared7 total queries

Output Escaping

85% escaped20 total outputs
Attack Surface
3 unprotected

Restrict By Category for WooCommerce Attack Surface

Entry Points3
Unprotected3

AJAX Handlers 3

authwp_ajax_rednao_wcrbc_search_rolesajax.php:2
authwp_ajax_rednao_wcrbc_search_userajax.php:45
authwp_ajax_rednao_wcrbc_save_rolesajax.php:97
WordPress Hooks 14
actionpre_get_postsfilter-manager.php:3
filterwoocommerce_shortcode_products_queryfilter-manager.php:57
filterwoocommerce_shortcode_product_cat_queryfilter-manager.php:58
filterwoocommerce_shortcode_recent_products_queryfilter-manager.php:59
filterwoocommerce_shortcode_sale_products_queryfilter-manager.php:60
filterwoocommerce_shortcode_best_selling_products_queryfilter-manager.php:61
filterwoocommerce_shortcode_top_rated_products_queryfilter-manager.php:62
filterwoocommerce_shortcode_featured_products_queryfilter-manager.php:63
filterwoocommerce_shortcode_product_attribute_queryfilter-manager.php:64
actionwoocommerce_no_products_foundfilter-manager.php:108
filterwoocommerce_is_purchasablefilter-manager.php:115
actionadmin_menuwoocommerce-restrict-by-category.php:12
actioninitwoocommerce-restrict-by-category.php:13
actionadmin_initwoocommerce-restrict-by-category.php:28
Maintenance & Trust

Restrict By Category for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedJul 12, 2024
PHP min version
Downloads3K

Community Trust

Rating68/100
Number of ratings5
Active installs10
Developer Profile

Restrict By Category for WooCommerce Developer Profile

EDGARROJAS

19 plugins · 12K total installs

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

How We Detect Restrict By Category 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/woo-restrict-by-category/js/bundle/rolerestriction_bundle.js/wp-content/plugins/woo-restrict-by-category/css/bootstrap/css/bootstrap.min.css
Script Paths
/wp-content/plugins/woo-restrict-by-category/js/bundle/rolerestriction_bundle.js

HTML / DOM Fingerprints

CSS Classes
bootstrap
FAQ

Frequently Asked Questions about Restrict By Category for WooCommerce