CVE-2025-30791

7.6 HIGH

📋 TL;DR

This SQL injection vulnerability in the Cart tracking for WooCommerce WordPress plugin allows attackers to execute arbitrary SQL commands on the database. It affects all WordPress sites using this plugin from any version up to 1.0.16. Successful exploitation could lead to data theft, modification, or deletion.

💻 Affected Systems

Products:
  • Cart tracking for WooCommerce WordPress plugin
Versions: n/a through 1.0.16
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with vulnerable plugin versions enabled.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including sensitive customer data (PII, payment info), administrative takeover, and data destruction.

🟠

Likely Case

Data exfiltration of customer information, order history, and potentially credential harvesting from the WordPress database.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and database user privilege restrictions.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

SQL injection typically requires some level of access or interaction with vulnerable endpoints.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.17 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/cart-tracking-for-woocommerce/vulnerability/wordpress-cart-tracking-for-woocommerce-plugin-1-0-16-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Cart tracking for WooCommerce'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 1.0.17+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily disable the plugin until patched version is available

wp plugin deactivate cart-tracking-for-woocommerce

🧯 If You Can't Patch

  • Implement web application firewall (WAF) with SQL injection rules
  • Restrict database user permissions to minimum required

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins > Installed Plugins

Check Version:

wp plugin get cart-tracking-for-woocommerce --field=version

Verify Fix Applied:

Confirm plugin version is 1.0.17 or higher after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts from single IP
  • Unexpected database errors in WordPress logs

Network Indicators:

  • SQL syntax in HTTP parameters
  • Unusual POST requests to WooCommerce endpoints

SIEM Query:

source="wordpress.log" AND ("SQL syntax" OR "database error" OR "cart-tracking")

🔗 References

📤 Share & Export