
Conditional Add to Cart for WooCommerce Security & Risk Analysis
wordpress.org/plugins/conditional-add-to-cartHide, disable, or replace the WooCommerce Add to Cart button using conditional rules based on user role, cart total, country, and more.
Is Conditional Add to Cart for WooCommerce Safe to Use in 2026?
Generally Safe
Score 100/100Conditional Add to Cart for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "conditional-add-to-cart" plugin v0.2.5 exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The absence of critical or high-severity vulnerabilities in its history, along with the plugin's adherence to using prepared statements for SQL queries and the presence of nonce checks on all AJAX handlers, are positive indicators. The plugin also avoids file operations and external HTTP requests, further reducing potential attack vectors.
However, a notable concern arises from the low percentage of properly escaped output (7%). This suggests that a significant portion of user-provided or dynamic data displayed by the plugin might not be sufficiently sanitized, potentially leading to Cross-Site Scripting (XSS) vulnerabilities if the inputs feeding these outputs are not strictly controlled or validated elsewhere. Additionally, while there are no recorded vulnerabilities, the lack of capability checks on AJAX handlers, combined with the presence of AJAX entry points, could present a risk if the functionality of these handlers, when combined with unsanitized output, were to be exploited.
In conclusion, the plugin has implemented several good security practices, particularly in data handling and authentication mechanisms for AJAX. The primary weakness lies in output sanitization, which requires immediate attention. The historical absence of vulnerabilities is a positive sign, but it doesn't negate the potential risks identified in the static analysis, especially concerning XSS.
Key Concerns
- Low percentage of properly escaped output
- No capability checks on AJAX handlers
Conditional Add to Cart for WooCommerce Security Vulnerabilities
Conditional Add to Cart for WooCommerce Release Timeline
Conditional Add to Cart for WooCommerce Code Analysis
Bundled Libraries
SQL Query Safety
Output Escaping
Conditional Add to Cart for WooCommerce Attack Surface
AJAX Handlers 4
WordPress Hooks 12
Maintenance & Trust
Conditional Add to Cart for WooCommerce Maintenance & Trust
Maintenance Signals
Community Trust
Conditional Add to Cart for WooCommerce Alternatives
Hide price and add to cart Lite
hide-price-and-add-to-cart-for-woocommerce
Hide Price and Add to Cart Lite for WooCommerce allows you to hide product prices and the Add to Cart button using flexible rule-based control.
Hide Price for WooCommerce – CodeAtoZ
codeatoz-hide-price-for-stores
CodeAtoZ – Hide Price for Stores gives WooCommerce store owners complete control over product price visibility.
Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices
woocommerce-wholesale-prices
WooCommerce wholesale plugin for serving wholesale & B2B customers. Adds wholesale pricing, user roles, dynamic pricing & more.
Add to Cart Button Custom Text
add-to-cart-button-custom-text
Allows to customize the Add to cart button text in WooCommerce by product type in both archive and single product pages.
B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More
b2bking-wholesale-for-woocommerce
B2BKing is the complete solution for running a Wholesale, B2B or B2B + B2C hybrid store with WooCommerce.
Conditional Add to Cart for WooCommerce Developer Profile
4 plugins · 30K total installs
How We Detect Conditional Add to Cart for WooCommerce
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/conditional-add-to-cart/assets/css/main.css/wp-content/plugins/conditional-add-to-cart/assets/css/select2.min.css/wp-content/plugins/conditional-add-to-cart/assets/js/main.js/wp-content/plugins/conditional-add-to-cart/assets/js/select2.min.js/wp-content/plugins/conditional-add-to-cart/assets/js/select2.min.js/wp-content/plugins/conditional-add-to-cart/assets/js/main.jsconditional-add-to-cart/assets/js/main.js?ver=conditional-add-to-cart/assets/css/main.css?ver=conditional-add-to-cart/assets/js/select2.min.js?ver=conditional-add-to-cart/assets/css/select2.min.css?ver=HTML / DOM Fingerprints
catc-enablecatcAddConditionGroupcatc-spinnername="catc_settings[enable]"name="catc_settings[conditions]"id="catc-enable"id="catc-conditions"catcAddConditionGroupcatc_ajax/wp-json/conditions/searchOptions/wp-json/conditions/addCondition/wp-json/conditions/changeCondition/wp-json/conditions/addConditionGroup