NC Ajax Cart for woocommerce Security & Risk Analysis

wordpress.org/plugins/nc-ajax-cart-for-woocommerce

This plugin allows you to add ajax driven drop down cart for your woocommerce store using shortcode [nc_ajax_cart]

30 active installs v1.0.2 PHP + WP 4.0+ Updated Jul 3, 2016
ajax-cartajax-cart-woocommercecartwoocommerce-ajax-cartwoocommerce-cart
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is NC Ajax Cart for woocommerce Safe to Use in 2026?

Generally Safe

Score 85/100

NC Ajax Cart for woocommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The "nc-ajax-cart-for-woocommerce" plugin version 1.0.2 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by utilizing prepared statements for all SQL queries, having no recorded vulnerabilities, and not making external HTTP requests. The absence of dangerous functions and file operations is also a strength. However, there are significant concerns regarding the plugin's attack surface and input sanitization.

The analysis reveals a notable number of unprotected entry points, specifically two AJAX handlers without authentication checks. This is a critical weakness as it allows unauthenticated users to potentially interact with sensitive functionality. Furthermore, only 41% of output is properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities, especially when combined with the unprotected AJAX handlers. The presence of a single nonce check is insufficient given the multiple entry points.

The lack of any recorded vulnerabilities in the plugin's history is a positive indicator, suggesting a developer who may be responsive to security issues or has not yet encountered them. However, this should not breed complacency, particularly given the identified weaknesses in the code. The plugin's strengths lie in its database interaction and lack of external dependencies, but the exposed AJAX endpoints and unescaped output represent substantial risks that need immediate attention.

Key Concerns

  • Unprotected AJAX handlers
  • Insufficient output escaping
  • Limited nonce checks on entry points
Vulnerabilities
None known

NC Ajax Cart for woocommerce Security Vulnerabilities

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

NC Ajax Cart for woocommerce Code Analysis

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

Output Escaping

41% escaped51 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
nc_ajax_cart_settings_page (admin\class-nc-ajax-cart-admin.php:168)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

NC Ajax Cart for woocommerce Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

authwp_ajax_nc_ajax_cart_product_removeincludes\class-nc-ajax-cart.php:183
noprivwp_ajax_nc_ajax_cart_product_removeincludes\class-nc-ajax-cart.php:184

Shortcodes 1

[nc_ajax_cart] public\class-nc-ajax-cart-public.php:59
WordPress Hooks 10
actionplugins_loadedincludes\class-nc-ajax-cart.php:146
actionadmin_enqueue_scriptsincludes\class-nc-ajax-cart.php:161
actionadmin_enqueue_scriptsincludes\class-nc-ajax-cart.php:162
actioninitincludes\class-nc-ajax-cart.php:163
actionadmin_menuincludes\class-nc-ajax-cart.php:164
actionnc_ajax_cart_settingsincludes\class-nc-ajax-cart.php:165
actionwp_enqueue_scriptsincludes\class-nc-ajax-cart.php:180
actionwp_headincludes\class-nc-ajax-cart.php:181
actionwp_enqueue_scriptsincludes\class-nc-ajax-cart.php:182
filterwoocommerce_add_to_cart_fragmentsincludes\class-nc-ajax-cart.php:185
Maintenance & Trust

NC Ajax Cart for woocommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedJul 3, 2016
PHP min version
Downloads4K

Community Trust

Rating80/100
Number of ratings3
Active installs30
Developer Profile

NC Ajax Cart for woocommerce Developer Profile

Crispweb

3 plugins · 100 total installs

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

How We Detect NC Ajax 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/nc-ajax-cart-for-woocommerce/js/custom-script.js/wp-content/plugins/nc-ajax-cart-for-woocommerce/css/slider.css
Script Paths
js/custom-script.js
Version Parameters
nc-ajax-cart-for-woocommerce/css/slider.css?ver=js/custom-script.js?ver=

HTML / DOM Fingerprints

CSS Classes
nc_ajax_cart
Data Attributes
data-nc_ajax_cart_layoutdata-nc_ajax_cart_widthdata-nc_ajax_cart_enable_imagedata-nc_ajax_cart_radiusdata-nc_ajax_cart_paddingdata-nc_ajax_cart_item_name+7 more
JS Globals
nc_ajax_cart_settings
FAQ

Frequently Asked Questions about NC Ajax Cart for woocommerce