CoCart – Cart API Enhanced Security & Risk Analysis

wordpress.org/plugins/cocart-get-cart-enhanced

Enhances CoCart's cart REST API response.

200 active installs v4.0.5 PHP 7.4+ WP 5.6+ Updated Sep 5, 2024
cartdecoupledheadlessrest-apiwoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is CoCart – Cart API Enhanced Safe to Use in 2026?

Generally Safe

Score 92/100

CoCart – Cart API Enhanced 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

The plugin 'cocart-get-cart-enhanced' version 4.0.5 exhibits an exceptionally strong security posture based on the provided static analysis. The absence of any identified attack surface entry points, dangerous functions, direct SQL queries, file operations, or external HTTP requests is a significant strength. Furthermore, the plugin demonstrates robust output escaping and utilizes prepared statements for all SQL interactions, indicating good development practices for data handling and prevention of common vulnerabilities like SQL injection and XSS. The lack of any recorded vulnerabilities in its history further reinforces this positive assessment, suggesting a history of secure development and maintenance. However, the complete lack of nonce checks and capability checks is a notable concern. While the current analysis shows no apparent direct entry points, this absence creates a potential blind spot. If new entry points were to be inadvertently introduced in future versions, or if existing ones were misclassified, the lack of these fundamental security mechanisms would leave the plugin highly vulnerable to exploitation. Therefore, while the current state is remarkably secure, the absence of these core security checks represents a significant area for improvement to ensure long-term resilience.

Key Concerns

  • No nonce checks detected
  • No capability checks detected
Vulnerabilities
None known

CoCart – Cart API Enhanced Security Vulnerabilities

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

CoCart – Cart API Enhanced Code Analysis

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

Output Escaping

100% escaped12 total outputs
Attack Surface

CoCart – Cart API Enhanced Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 16
actioninitincludes\class-cocart-get-cart-enhanced.php:42
actioninitincludes\class-cocart-get-cart-enhanced.php:45
filtercocart_cart_contentsincludes\filters\filter-v1.php:23
filtercocart_return_cart_contentsincludes\filters\filter-v1.php:26
filtercocart_return_removed_cart_contentsincludes\filters\filter-v1.php:27
filtercocart_return_cart_contentsincludes\filters\filter-v1.php:30
filtercocart_return_cart_contentsincludes\filters\filter-v1.php:33
filtercocart_return_cart_contentsincludes\filters\filter-v1.php:36
filtercocart_return_cart_contentsincludes\filters\filter-v1.php:37
filtercocart_return_empty_cartincludes\filters\filter-v1.php:40
filtercocart_enhanced_extrasincludes\filters\filter-v1.php:43
filtercocart_cart_contentsincludes\filters\filter-v2-preview.php:27
filtercocart_return_cart_contentsincludes\filters\filter-v2-preview.php:30
filtercocart_enhanced_extrasincludes\filters\filter-v2-preview.php:33
filtercocart_cart_itemsincludes\filters\filter-v2.php:23
filtercocart_cart_itemsincludes\filters\filter-v2.php:26
Maintenance & Trust

CoCart – Cart API Enhanced Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedSep 5, 2024
PHP min version7.4
Downloads10K

Community Trust

Rating100/100
Number of ratings1
Active installs200
Developer Profile

CoCart – Cart API Enhanced Developer Profile

CoCart Headless

5 plugins · 2K total installs

77
trust score
Avg Security Score
97/100
Avg Patch Time
143 days
View full developer profile
Detection Fingerprints

How We Detect CoCart – Cart API Enhanced

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cocart-get-cart-enhanced/assets/css/cocart-get-cart-enhanced.css/wp-content/plugins/cocart-get-cart-enhanced/assets/js/cocart-get-cart-enhanced.js
Version Parameters
cocart-get-cart-enhanced/assets/css/cocart-get-cart-enhanced.css?ver=cocart-get-cart-enhanced/assets/js/cocart-get-cart-enhanced.js?ver=

HTML / DOM Fingerprints

CSS Classes
cocart-get-cart-enhanced-block
Data Attributes
data-cocart-get-cart-enhanced
JS Globals
CoCartGetCartEnhanced
FAQ

Frequently Asked Questions about CoCart – Cart API Enhanced