Ajax Shop Loop Quantity for WooCommerce Security & Risk Analysis

wordpress.org/plugins/ajax-shop-loop-quantity-for-woocommerce

This plugin's goal is to show product quantity field in the product thumbnail after it has been added to the cart.

10 active installs v1.0 PHP 7.0+ WP 4.7+ Updated Jun 17, 2021
fieldproduct-quantitiesquantityshopwoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Ajax Shop Loop Quantity for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Ajax Shop Loop Quantity for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The "ajax-shop-loop-quantity-for-woocommerce" plugin version 1.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, all SQL queries using prepared statements, and 100% proper output escaping are excellent security practices. Furthermore, the presence of a nonce check on one of the two AJAX handlers and no vulnerabilities recorded in its history are positive indicators. The taint analysis showing no unsanitized paths with critical or high severity further reinforces this.

However, the absence of capability checks on the AJAX handlers is a notable concern. While there's a nonce check, this handler could potentially be triggered by any logged-in user without sufficient permissions, depending on the intended functionality of the AJAX endpoints. The lack of recorded vulnerabilities, while positive, could also indicate a lack of extensive security auditing or a very low profile, making it harder to draw definitive conclusions about its long-term security resilience.

In conclusion, the plugin demonstrates good fundamental security coding practices with prepared statements and output escaping. The primary area for improvement is the implementation of robust capability checks on its AJAX endpoints to prevent privilege escalation or unauthorized actions by lower-privileged users. The clean vulnerability history is a good sign, but ongoing vigilance and potential for future audits are recommended.

Key Concerns

  • AJAX handlers without capability checks
Vulnerabilities
None known

Ajax Shop Loop Quantity for WooCommerce Security Vulnerabilities

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

Ajax Shop Loop Quantity for WooCommerce Code Analysis

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

Output Escaping

100% escaped5 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
aslq_prod_cart_update (includes\functions.php:9)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Ajax Shop Loop Quantity for WooCommerce Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_prod_cart_updateincludes\functions.php:3
noprivwp_ajax_prod_cart_updateincludes\functions.php:4
WordPress Hooks 8
actionplugins_loadedajax-shop-loop-qty.php:38
actionadmin_noticesajax-shop-loop-qty.php:92
actionadmin_noticesincludes\Admin.php:12
actionwoocommerce_after_shop_loop_itemincludes\Frontend\WC_Hooks.php:15
actionwoocommerce_before_quantity_input_fieldincludes\Frontend\WC_Hooks.php:16
actionwoocommerce_after_quantity_input_fieldincludes\Frontend\WC_Hooks.php:17
actionwp_enqueue_scriptsincludes\Frontend.php:16
filterwoocommerce_add_to_cart_fragmentsincludes\functions.php:45
Maintenance & Trust

Ajax Shop Loop Quantity for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.7.15
Last updatedJun 17, 2021
PHP min version7.0
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Ajax Shop Loop Quantity for WooCommerce Developer Profile

appl4e

1 plugin · 10 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Ajax Shop Loop Quantity 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/ajax-shop-loop-quantity-for-woocommerce/assets/css/style.css/wp-content/plugins/ajax-shop-loop-quantity-for-woocommerce/assets/js/script.js
Script Paths
assets/js/script.js
Version Parameters
ajax-shop-loop-quantity-for-woocommerce/assets/js/script.js?ver=1.0

HTML / DOM Fingerprints

Data Attributes
data-quantity
JS Globals
wc_product_id_obj
FAQ

Frequently Asked Questions about Ajax Shop Loop Quantity for WooCommerce