
Product Visibility by User Role for WooCommerce Security & Risk Analysis
wordpress.org/plugins/product-visibility-by-user-role-for-woocommerceDisplay WooCommerce products by customer's user role.
Is Product Visibility by User Role for WooCommerce Safe to Use in 2026?
Generally Safe
Score 100/100Product Visibility by User Role for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The plugin "product-visibility-by-user-role-for-woocommerce" v1.8.4 exhibits a generally strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the potential attack surface. Furthermore, the analysis indicates a lack of dangerous functions, file operations, and external HTTP requests, which are common vectors for exploitation. The presence of nonce and capability checks on the identified code signals is also a positive indicator of good security practices.
However, a primary concern lies with the handling of SQL queries. The single SQL query identified is not using prepared statements, which represents a significant risk for SQL injection vulnerabilities. While the taint analysis shows no unsanitized flows, this specific SQL query remains a potential entry point for attackers. The moderate rate of output escaping (53%) also suggests a risk of cross-site scripting (XSS) vulnerabilities, though the extent of this risk is not fully quantifiable without knowing the specific outputs and their contexts.
The plugin's vulnerability history is remarkably clean, with no recorded CVEs. This pattern, combined with the current lack of critical issues in the static analysis, suggests a history of secure development or diligent patching by the developers. Despite the positive history and limited attack surface, the unescaped SQL query and partially unescaped outputs are notable weaknesses that warrant attention and mitigation to ensure continued security.
Key Concerns
- SQL query without prepared statements
- Moderate rate of unescaped output
Product Visibility by User Role for WooCommerce Security Vulnerabilities
Product Visibility by User Role for WooCommerce Code Analysis
SQL Query Safety
Output Escaping
Product Visibility by User Role for WooCommerce Attack Surface
WordPress Hooks 33
Maintenance & Trust
Product Visibility by User Role for WooCommerce Maintenance & Trust
Maintenance Signals
Community Trust
Product Visibility by User Role for WooCommerce Alternatives
Country Based Restrictions for WooCommerce
woo-product-country-base-restrictions
Restrict WooCommerce products by country — hide or block purchases using geolocation so only customers in allowed countries can buy.
Custom Product Tabs Lite for WooCommerce
woocommerce-custom-product-tabs-lite
This plugin extends WooCommerce by allowing a custom product tab to be created with any content.
WP Hide Post — Hide Posts, Pages, Custom Post Types, and Control Products Visibility for WooCommerce
wp-post-hide
Want to hide WordPress posts, pages, custom post types, and WooCommerce products from the homepage, archives, search, RSS, and REST API? Check out WP …
Product Notes Tab & Private Admin Notes for WooCommerce
product-notes-for-woocommerce
Add notes to WooCommerce products.
Products Restricted Users for WooCommerce
woo-products-restricted-users
This plugin allows you to restrict the visibility for some products. You can enable the functionality in every product you want.
Product Visibility by User Role for WooCommerce Developer Profile
9 plugins · 37K total installs
How We Detect Product Visibility by User Role for WooCommerce
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/product-visibility-by-user-role-for-woocommerce/includes/js/admin.js/wp-content/plugins/product-visibility-by-user-role-for-woocommerce/includes/js/admin.jsproduct-visibility-by-user-role-for-woocommerce/includes/js/admin.js?ver=1.8.4HTML / DOM Fingerprints
wpwham_product_visibility_user_role_admin