What’s Vulnerable › Vulnerabilities

CVE-2025-3951: WP-Optimize < 4.2.0 - Admin+ SQLi

Description

The WP-Optimize WordPress plugin before 4.2.0 does not properly escape user input when checking image compression statuses, which could allow users with the administrator role to conduct SQL Injection attacks in the context of Multi-Site WordPress configurations.

Affected products

How to fix

Upgrade to a fixed version: WP-Optimize 4.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-3951 or the next vulnerability affects your stack