CVE-2025-31099

7.6 HIGH

📋 TL;DR

This SQL injection vulnerability in the Slider by BestWebSoft WordPress plugin allows attackers to execute arbitrary SQL commands on the database. It affects all WordPress sites using this plugin from unknown versions through 1.1.0. Successful exploitation could lead to data theft, modification, or deletion.

💻 Affected Systems

Products:
  • Slider by BestWebSoft WordPress plugin
Versions: n/a through 1.1.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the vulnerable plugin version. Requires plugin to be 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, or complete site takeover via WordPress admin access.

🟠

Likely Case

Unauthorized data access or modification, potentially exposing user information, site content, or configuration data.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only allowing data viewing without modification.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 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. No public exploit code is currently available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.1.0

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/slider-bws/vulnerability/wordpress-slider-by-bestwebsoft-1-1-0-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Slider by BestWebSoft'. 4. Click 'Update Now' if available. 5. If no update is available, deactivate and remove the plugin.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until a patch can be applied

wp plugin deactivate slider-bws

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block SQL injection patterns
  • Restrict database user permissions to read-only for the plugin's database user

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Slider by BestWebSoft version 1.1.0 or earlier

Check Version:

wp plugin get slider-bws --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.1.0 in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts or unusual parameter patterns in web server logs

Network Indicators:

  • HTTP requests with SQL syntax in parameters
  • Unusual database connection patterns

SIEM Query:

source="web_server" AND (url="*slider-bws*" AND (param="*UNION*" OR param="*SELECT*" OR param="*INSERT*" OR param="*DELETE*"))

🔗 References

📤 Share & Export