Tyche Softwares has remediated CVE-2026-97668 (CVSS score 9.8, Critical), an unauthenticated SQL injection vulnerability affecting the Abandoned Cart Pro for WooCommerce WordPress plugin. The flaw allows external threat actors to execute arbitrary SQL commands against the WordPress database, enabling the unauthorized exfiltration of sensitive consumer billing records, customer credentials, and administrative password hashes.
Executive Threat Summary & Exploit Landscape
SQL injection flaws in e-commerce plugins represent an existential threat to retail enterprises. When adversaries can query backend MySQL/MariaDB databases directly, they can bypass application-level authentication, dump customer credit card transaction histories, and modify order fulfillment workflows.
Under CVE-2026-97668, the tracking handler responsible for recording cart updates failed to use parameterized database queries. Because this endpoint is accessible to unauthenticated visitors entering checkout funnels, automated SQL injection tools (such as sqlmap) can extract the entire contents of the wp_users and wp_posts tables via time-based and boolean-based blind techniques.
Vulnerability Mechanics & Technical Root Cause (CWE-89)
The defect occurs in includes/classes/class-wcal-cart-recovery.php. When tracking cart status updates, the plugin reads the wcal_abandoned_cart_id parameter directly from the HTTP GET query string:
// Vulnerable Database Query in Abandoned Cart Pro
$cart_id = $_GET['wcal_abandoned_cart_id'];
// VULNERABILITY: Raw concatenation without $wpdb->prepare()
$query = "SELECT * FROM {$wpdb->prefix}ac_abandoned_cart_history_lite WHERE id = " . $cart_id;
$results = $wpdb->get_results($query);
An attacker can supply SQL payloads such as 1 UNION SELECT 1,user_pass,user_login,4,5 FROM wp_users-- - to extract administrative credentials or use SLEEP(5) to confirm database exposure. With administrative hashes in hand, adversaries leverage password cracking or session hijacking to gain full access to the WordPress administrative dashboard.
Vulnerable Software Versions & Patch Status Matrix
| Plugin Edition | Vulnerable Versions | Patched Release | Remediation Priority |
|---|---|---|---|
| Abandoned Cart Pro for WooCommerce | Versions <= 8.24.1 | Version 8.24.2 | Immediate Critical |
Step-by-Step Remediation Playbook & Patch Commands
E-commerce merchants must update the plugin across production environments immediately:
- WP-CLI Plugin Update Command:
# Update plugin via WP-CLI wp plugin update woocommerce-abandon-cart-pro --version=8.24.2 # Verify that the plugin update succeeded wp plugin list --name=woocommerce-abandon-cart-pro - Database Password Hash Rotation: If unpatched plugin versions were active in production, force password resets across all administrator accounts:
# Reset administrator password via WP-CLI wp user update admin --user_pass="GenerateStrongPasswordHere!123" - Deploy WAF Virtual Patching: If updating is delayed, configure Cloudflare or AWS WAF rules to block non-numeric characters inside the
wcal_abandoned_cart_idparameter:# WAF Rule Expression http.request.uri.query contains "wcal_abandoned_cart_id" and not http.request.uri.query matches "wcal_abandoned_cart_id=[0-9]+$"
Threat Detection, Log Auditing & Forensic Queries
Inspect web server access logs for SQL injection patterns in query strings:
# Search for SQL injection strings in access logs
grep -iE "wcal_abandoned_cart_id=.*(UNION|SELECT|SLEEP|BENCHMARK|CONCAT)" /var/log/nginx/access.log



