Delete items from the WooCommerce cart button Security & Risk Analysis

wordpress.org/plugins/delete-items-from-woo-card

You can use this shortcode by placing [delete_cart_items_button] in a post, page, or widget.

0 active installs v1.0 PHP 8.0+ WP 6.9+ Updated Jan 9, 2026
delete-items-from-woo-card
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Delete items from the WooCommerce cart button Safe to Use in 2026?

Generally Safe

Score 100/100

Delete items from the WooCommerce cart button has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The "delete-items-from-woo-card" plugin v1.0 exhibits a generally strong security posture based on the provided static analysis. All identified entry points (AJAX handlers and shortcodes) are reported as not requiring authentication, which is a positive sign. The code utilizes prepared statements for all SQL queries and correctly escapes all output, mitigating common injection and XSS risks. The absence of file operations and external HTTP requests further reduces the attack surface. There is also a single nonce check present. However, a significant concern is the complete lack of capability checks on any of the entry points. This means any user, regardless of their role or permissions, could potentially trigger the functionality of the AJAX handlers or shortcodes. The plugin's vulnerability history is clean, with no known CVEs, which is encouraging, but this should not be a substitute for robust security practices within the code itself.

While the code demonstrates good practices in SQL and output handling, the absence of capability checks on its entry points is a notable weakness. This could allow for privilege escalation or unauthorized actions if the plugin's functionality is sensitive. The lack of taint analysis data is also a potential unknown, though the absence of dangerous functions suggests this might not be a significant issue. Overall, the plugin has a solid foundation but requires attention to its authorization mechanisms to be considered truly secure.

Key Concerns

  • No capability checks on entry points
Vulnerabilities
None known

Delete items from the WooCommerce cart button Security Vulnerabilities

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

Delete items from the WooCommerce cart button 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
Attack Surface

Delete items from the WooCommerce cart button Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 2

authwp_ajax_wtdi_delete_cart_itemsDeleteItemFromWooCart.php:72
noprivwp_ajax_wtdi_delete_cart_itemsDeleteItemFromWooCart.php:73

Shortcodes 1

[wordtune_delete_cart_items_button] DeleteItemFromWooCart.php:64
WordPress Hooks 2
actionwp_enqueue_scriptsDeleteItemFromWooCart.php:21
actionwp_enqueue_scriptsDeleteItemFromWooCart.php:27
Maintenance & Trust

Delete items from the WooCommerce cart button Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 9, 2026
PHP min version8.0
Downloads507

Community Trust

Rating0/100
Number of ratings0
Active installs0
Alternatives

Delete items from the WooCommerce cart button Alternatives

No alternatives data available yet.

Developer Profile

Delete items from the WooCommerce cart button Developer Profile

Benjamin Hagh Parast

18 plugins · 330 total installs

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

How We Detect Delete items from the WooCommerce cart button

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

Asset Fingerprints

HTML / DOM Fingerprints

Data Attributes
id="delete-cart-items"
JS Globals
ajax_object
Shortcode Output
<button id="delete-cart-items">Delete Cart Items</button>
FAQ

Frequently Asked Questions about Delete items from the WooCommerce cart button