WPC AJAX Add to Cart for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wpc-ajax-add-to-cart

It is a highly effective plugin for helping online stores cut down the site’s loading time, improve the user experience, and increase sales.

10K active installs v2.2.0 PHP + WP 4.0+ Updated Mar 14, 2026
add-to-cartajaxwoocommercewpc
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPC AJAX Add to Cart for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

WPC 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 20d ago
Risk Assessment

The "wpc-ajax-add-to-cart" plugin version 2.2.0 exhibits a generally good security posture, with no known vulnerabilities recorded and a strong emphasis on secure coding practices. The static analysis reveals no unprotected AJAX handlers, REST API routes, shortcodes, or cron events, indicating a robust defense against direct unauthorized access. Furthermore, the plugin utilizes prepared statements exclusively for SQL queries and demonstrates a high percentage of properly escaped output, mitigating common injection and XSS risks. The absence of identified taint flows with unsanitized paths reinforces this positive assessment. However, the presence of the "unserialize" function three times within the code is a notable concern. While not flagged as a vulnerability in this specific analysis due to a lack of exploited flows, "unserialize" can be a significant attack vector if user-supplied data is ever processed through it without stringent validation and sanitization. The plugin's history of zero CVEs is a strong indicator of developer diligence, but the potential risk associated with "unserialize" warrants careful consideration and potential future monitoring.

In conclusion, the plugin is well-defended against common web attack vectors, demonstrating a commitment to secure development. The use of prepared statements and proper output escaping are commendable. The primary area of caution lies in the repeated use of the "unserialize" function, which, although currently unexploited, represents a latent risk that could be exploited if input validation is ever compromised. The plugin's clean vulnerability history is a positive sign, but the "unserialize" usage suggests a need for ongoing vigilance and potentially code review to ensure robust input validation around these functions.

Key Concerns

  • Use of unserialize function
Vulnerabilities
None known

WPC AJAX Add to Cart for WooCommerce Security Vulnerabilities

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

WPC AJAX Add to Cart for WooCommerce Code Analysis

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

Dangerous Functions Found

unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:101
unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:179
unserialize$plugins = unserialize( $response['body'] );includes\kit\wpc-kit.php:98

Output Escaping

97% escaped100 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
ajax_export (includes\dashboard\wpc-dashboard.php:215)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WPC AJAX Add to Cart for WooCommerce Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 5

authwp_ajax_wpc_get_pluginsincludes\dashboard\wpc-dashboard.php:9
authwp_ajax_wpc_get_suggestionincludes\dashboard\wpc-dashboard.php:10
authwp_ajax_wpc_exportincludes\dashboard\wpc-dashboard.php:11
authwp_ajax_wpc_importincludes\dashboard\wpc-dashboard.php:12
authwp_ajax_wpc_get_essential_kitincludes\kit\wpc-kit.php:22
WordPress Hooks 15
actionadmin_enqueue_scriptsincludes\dashboard\wpc-dashboard.php:7
actionadmin_menuincludes\dashboard\wpc-dashboard.php:8
actionbefore_woocommerce_initincludes\hpos.php:7
actionadmin_enqueue_scriptsincludes\kit\wpc-kit.php:20
actionadmin_menuincludes\kit\wpc-kit.php:21
actioninitwpc-ajax-add-to-cart.php:53
actionwp_enqueue_scriptswpc-ajax-add-to-cart.php:56
actionwc_ajax_wooaa_add_to_cartwpc-ajax-add-to-cart.php:59
actionadmin_enqueue_scriptswpc-ajax-add-to-cart.php:62
actionadmin_initwpc-ajax-add-to-cart.php:63
actionadmin_menuwpc-ajax-add-to-cart.php:64
filterplugin_action_linkswpc-ajax-add-to-cart.php:65
filterplugin_row_metawpc-ajax-add-to-cart.php:66
filterwooaa_disable_nonce_checkwpc-ajax-add-to-cart.php:69
actionwoocommerce_add_to_cartwpc-ajax-add-to-cart.php:289
Maintenance & Trust

WPC AJAX Add to Cart for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 14, 2026
PHP min version
Downloads257K

Community Trust

Rating88/100
Number of ratings18
Active installs10K
Developer Profile

WPC AJAX Add to Cart for WooCommerce Developer Profile

WPClever

71 plugins · 441K total installs

87
trust score
Avg Security Score
99/100
Avg Patch Time
68 days
View full developer profile
Detection Fingerprints

How We Detect WPC 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/wpc-ajax-add-to-cart/assets/js/frontend.js/wp-content/plugins/wpc-ajax-add-to-cart/assets/css/backend.css/wp-content/plugins/wpc-ajax-add-to-cart/assets/js/backend.js
Script Paths
/wp-content/plugins/wpc-ajax-add-to-cart/assets/js/frontend.js/wp-content/plugins/wpc-ajax-add-to-cart/assets/js/backend.js
Version Parameters
wpc-ajax-add-to-cart/assets/js/frontend.js?ver=wpc-ajax-add-to-cart/assets/css/backend.css?ver=wpc-ajax-add-to-cart/assets/js/backend.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpclever_settings_pagewpclever_settings_page_headerwpclever_settings_page_header_logowpclever_settings_page_header_textwpclever_settings_page_titlewpclever_settings_page_nav
JS Globals
wooaa_vars
FAQ

Frequently Asked Questions about WPC AJAX Add to Cart for WooCommerce