Quantity & Price Limit for Cart Security & Risk Analysis

wordpress.org/plugins/wc-quantity-price-limit-for-cart

Quantity & Price Limit for Cart is a WooCommerce plugin to set minimum and maximum quantity and price limits for products and the cart.

10 active installs v1.0.2 PHP 7.4+ WP 6.3+ Updated Dec 23, 2024
cart-limitsprice-limitquantity-limitwoocommercewoocommerce-plugin
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Quantity & Price Limit for Cart Safe to Use in 2026?

Generally Safe

Score 92/100

Quantity & Price Limit for Cart 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

This plugin, 'wc-quantity-price-limit-for-cart' v1.0.2, presents a generally positive security posture based on the static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events with any attack surface is a significant strength, indicating minimal opportunities for direct exploitation through common WordPress entry points. The code also demonstrates good practices by exclusively using prepared statements for its SQL queries, negating the risk of SQL injection. Furthermore, the lack of file operations and external HTTP requests reduces the potential for remote code execution or data exfiltration.

However, the analysis does reveal a concern regarding output escaping, with only 28% of outputs being properly escaped. This leaves a significant portion of data vulnerable to cross-site scripting (XSS) attacks if user-supplied data is not sufficiently sanitized before being displayed. The lack of capability checks and nonce checks on the limited entry points, while these entry points are currently zero, suggests a potential for future vulnerabilities if new entry points are added without proper security considerations. The vulnerability history is clean, with no recorded CVEs, which is encouraging. This, combined with the limited attack surface and safe SQL practices, suggests a cautious and potentially secure implementation thus far. Nevertheless, the unescaped output remains a notable weakness that should be addressed to ensure a robust security profile.

Key Concerns

  • Low output escaping rate
Vulnerabilities
None known

Quantity & Price Limit for Cart Security Vulnerabilities

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

Quantity & Price Limit for Cart Code Analysis

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

Output Escaping

28% escaped60 total outputs
Attack Surface

Quantity & Price Limit for Cart Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 18
actionadmin_initincludes\class-quantity-price-limit-admin.php:10
actionwoocommerce_cart_has_errorsincludes\class-quantity-price-limit-frontend.php:11
filterwoocommerce_loop_add_to_cart_linkincludes\class-quantity-price-limit-frontend.php:12
filterwoocommerce_quantity_input_argsincludes\class-quantity-price-limit-frontend.php:13
filterwoocommerce_add_to_cart_validationincludes\class-quantity-price-limit-frontend.php:14
actionwoocommerce_check_cart_itemsincludes\class-quantity-price-limit-frontend.php:15
filterwoocommerce_add_to_cart_product_idincludes\class-quantity-price-limit-frontend.php:16
filterwoocommerce_get_availabilityincludes\class-quantity-price-limit-frontend.php:17
filterwoocommerce_available_variationincludes\class-quantity-price-limit-frontend.php:18
filterwoocommerce_store_api_product_quantity_multiple_ofincludes\class-quantity-price-limit-frontend.php:21
filterwoocommerce_store_api_product_quantity_minimumincludes\class-quantity-price-limit-frontend.php:22
filterwoocommerce_store_api_product_quantity_maximumincludes\class-quantity-price-limit-frontend.php:23
actionplugins_loadedquantity-price-limit-for-cart.php:29
actionadmin_initquantity-price-limit-for-cart.php:32
actionadmin_menuquantity-price-limit-for-cart.php:35
actionadmin_enqueue_scriptsquantity-price-limit-for-cart.php:37
actionbefore_woocommerce_initquantity-price-limit-for-cart.php:40
actionadmin_noticesquantity-price-limit-for-cart.php:63
Maintenance & Trust

Quantity & Price Limit for Cart Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedDec 23, 2024
PHP min version7.4
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Quantity & Price Limit for Cart Developer Profile

technocrackers

3 plugins · 2K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
307 days
View full developer profile
Detection Fingerprints

How We Detect Quantity & Price Limit for Cart

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wc-quantity-price-limit-for-cart/css/admin-style.css
Version Parameters
wc-quantity-price-limit-for-cart/css/admin-style.css?ver=1.0.0

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Quantity & Price Limit for Cart