Single Ajax Add to Cart For WooCommerce Security & Risk Analysis

wordpress.org/plugins/ajax-single-add-to-cart-for-woocommerce

Description The plugin allows to "Add To Cart" through AJAX without refresh in the single product page. Features The plugin works will al …

10 active installs v1.0.0 PHP 5.6+ WP 5.3.0+ Updated Jul 7, 2022
ajaxcartsinglewoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Single Ajax Add to Cart For WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Single Ajax Add to Cart For WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The static analysis of ajax-single-add-to-cart-for-woocommerce v1.0.0 indicates a generally strong security posture, particularly concerning its limited attack surface and the absence of known vulnerabilities. The plugin reports zero AJAX handlers, REST API routes, shortcodes, or cron events, meaning there are no obvious direct entry points for attackers. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests, coupled with 100% of SQL queries using prepared statements, suggests good development practices in these areas. The high percentage of properly escaped output (86%) is also a positive sign, mitigating risks related to Cross-Site Scripting (XSS).

However, there are notable areas for concern. The plugin exhibits zero nonce checks and zero capability checks. This is a significant weakness, especially given that the data does not detail the number of AJAX handlers or other entry points that might be protected by these checks. Without these, any user, regardless of their role or permissions, could potentially trigger sensitive actions within the plugin if such actions exist but were not identified as direct entry points in the static analysis. The lack of taint analysis results also means that potential data flow vulnerabilities, where user-supplied data might propagate through the application without proper sanitization, could be missed. The vulnerability history being completely clean is positive, but it could also simply mean the plugin hasn't been extensively audited or targeted previously.

In conclusion, while the plugin appears to have a minimal attack surface and strong practices in SQL and output handling, the complete absence of nonce and capability checks represents a critical gap in its security. The lack of comprehensive taint analysis data also leaves a blind spot. The plugin's current version is theoretically secure based on known vulnerabilities, but the identified weaknesses in authentication and authorization mechanisms present a clear risk that needs addressing. A balanced assessment highlights its clean history and good coding practices in certain areas, contrasted with significant oversights in user access control.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Single Ajax Add to Cart For WooCommerce Security Vulnerabilities

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

Single Ajax Add to Cart For WooCommerce Code Analysis

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

Output Escaping

86% escaped21 total outputs
Attack Surface

Single Ajax Add to Cart For WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_enqueue_scriptscore\modules\services\class-pro.php:69
actionplugins_loadedgpls-atcfw-single-ajax-add-to-cart.php:239
actionwoocommerce_add_to_cartincludes\AddToCart.php:243
actionwoocommerce_settings_productsincludes\Settings.php:77
actionwoocommerce_update_options_productsincludes\Settings.php:78
actionwp_enqueue_scriptsincludes\Single.php:43
Maintenance & Trust

Single Ajax Add to Cart For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.0
Last updatedJul 7, 2022
PHP min version5.6
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Single Ajax Add to Cart For WooCommerce Developer Profile

GrandPlugins

20 plugins · 9K total installs

74
trust score
Avg Security Score
93/100
Avg Patch Time
160 days
View full developer profile
Detection Fingerprints

How We Detect Single Ajax Add to Cart 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-single-add-to-cart-for-woocommerce/core/settings/assets/css/settings.css/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/core/settings/assets/js/settings.js/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/assets/css/style.css/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/assets/js/main.js/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/assets/js/frontend.js/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/core/modules/services/assets/css/pro.css
Script Paths
/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/core/settings/assets/js/settings.js/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/assets/js/main.js/wp-content/plugins/ajax-single-add-to-cart-for-woocommerce/assets/js/frontend.js
Version Parameters
ajax-single-add-to-cart-for-woocommerce/core/settings/assets/css/settings.css?ver=ajax-single-add-to-cart-for-woocommerce/core/settings/assets/js/settings.js?ver=ajax-single-add-to-cart-for-woocommerce/assets/css/style.css?ver=ajax-single-add-to-cart-for-woocommerce/assets/js/main.js?ver=ajax-single-add-to-cart-for-woocommerce/assets/js/frontend.js?ver=ajax-single-add-to-cart-for-woocommerce/core/modules/services/assets/css/pro.css?ver=

HTML / DOM Fingerprints

CSS Classes
gpls-atcfw-add-to-cart-buttongpls-atcfw-wrapgpls-atcfw-single-product-wrap
HTML Comments
<!-- GPLS AJAX SINGLE ADD TO CART FOR WOOCOMMERCE START --><!-- GPLS AJAX SINGLE ADD TO CART FOR WOOCOMMERCE END -->
Data Attributes
data-gpls-atcfw-add-to-cart
JS Globals
gpls_atcfw_localize_datagpls_atcfw_woo_localize_data
FAQ

Frequently Asked Questions about Single Ajax Add to Cart For WooCommerce