CVE-2025-31551

9.3 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the Salesmate Add-On for Gravity Forms 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 2.0.3. Successful exploitation could lead to data theft, modification, or deletion.

💻 Affected Systems

Products:
  • Salesmate Add-On for Gravity Forms WordPress plugin
Versions: All versions up to and including 2.0.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with Gravity Forms and the Salesmate Add-On installed and active.

⚠️ 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 exfiltration, privilege escalation, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access and modification, potentially exposing customer information, form submissions, and WordPress user credentials.

🟢

If Mitigated

Limited impact with proper input validation and database user privilege restrictions in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection vulnerabilities are commonly exploited and tooling exists for automated exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.0.4 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/gf-salesmate-add-on/vulnerability/wordpress-salesmate-add-on-for-gravity-forms-plugin-2-0-3-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins > Installed Plugins
3. Find 'Salesmate Add-On for Gravity Forms'
4. Click 'Update Now' if update available
5. If no update available, deactivate and remove plugin immediately

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Salesmate Add-On for Gravity Forms plugin

wp plugin deactivate gf-salesmate-add-on

Web Application Firewall rule

all

Implement WAF rules to block SQL injection patterns targeting Gravity Forms endpoints

🧯 If You Can't Patch

  • Immediately disable or remove the Salesmate Add-On for Gravity Forms plugin
  • Implement strict input validation and parameterized queries in custom code

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'Salesmate Add-On for Gravity Forms' version 2.0.3 or earlier

Check Version:

wp plugin get gf-salesmate-add-on --field=version

Verify Fix Applied:

Verify plugin version is 2.0.4 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual database queries in WordPress or database logs
  • Multiple failed SQL syntax attempts in web server logs
  • Unexpected database errors in application logs

Network Indicators:

  • HTTP requests with SQL injection payloads to Gravity Forms endpoints
  • Unusual database connection patterns from web server

SIEM Query:

source="web_server_logs" AND (uri="*gravityforms*" OR uri="*salesmate*") AND (query="*UNION*" OR query="*SELECT*" OR query="*INSERT*" OR query="*DELETE*")

🔗 References

📤 Share & Export