CVE-2025-30765

7.6 HIGH

📋 TL;DR

This SQL injection vulnerability in WPPOOL FlexStock WordPress plugin allows attackers to execute arbitrary SQL commands through unsanitized user input. It affects all FlexStock plugin versions up to 3.13.1, potentially compromising WordPress sites using this plugin for WooCommerce stock synchronization.

💻 Affected Systems

Products:
  • WPPOOL FlexStock (Stock Sync with Google Sheet for WooCommerce)
Versions: All versions up to and including 3.13.1
Operating Systems: All platforms running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the FlexStock plugin installed and activated.

⚠️ 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 data theft (customer information, orders, credentials), data manipulation/deletion, and potential server takeover via subsequent attacks.

🟠

Likely Case

Database information disclosure (sensitive data extraction), data manipulation, and potential privilege escalation within the WordPress environment.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Blind SQL injection requires specialized tools/techniques but is well-documented. Exploitation likely requires some WordPress access or specific plugin functionality usage.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 3.13.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/stock-sync-with-google-sheet-for-woocommerce/vulnerability/wordpress-flexstock-3-13-1-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Stock Sync with Google Sheet for WooCommerce'. 4. Click 'Update Now' if update available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the vulnerable plugin until patched

wp plugin deactivate stock-sync-with-google-sheet-for-woocommerce

Web Application Firewall Rules

all

Block SQL injection patterns targeting FlexStock endpoints

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries in custom code
  • Restrict database user permissions to minimum required

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Stock Sync with Google Sheet for WooCommerce' version ≤3.13.1

Check Version:

wp plugin get stock-sync-with-google-sheet-for-woocommerce --field=version

Verify Fix Applied:

Confirm plugin version is 3.13.2 or higher in WordPress plugins list

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in WordPress debug logs
  • Multiple failed SQL queries from single IP
  • Requests to FlexStock endpoints with SQL syntax in parameters

Network Indicators:

  • HTTP requests containing SQL keywords (SELECT, UNION, etc.) to /wp-content/plugins/stock-sync-with-google-sheet-for-woocommerce/

SIEM Query:

source="wordpress.log" AND ("stock-sync-with-google-sheet" OR "flexstock") AND ("sql" OR "database" OR "syntax")

🔗 References

📤 Share & Export