Skip to main content
CVE-2025-3951VulnerabilityPublished

CVE-2025-3951: WP-Optimize · SQL Injection

Affects WP-OptimizeSource CVE Database V5

0

Not known to be exploited · CVSS 4.1 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
4.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Unknown WP-OptimizeAffected
  • =0
Fixed in–

AI-suggested

To mitigate this vulnerability, European organizations should prioritize upgrading the WP-Optimize plugin to version 4.2.0 or later as soon as it becomes available, as this version addresses the input sanitization issue. Until an official patch is released, organizations should restrict administrator access strictly to trusted personnel and implement robust monitoring of administrator activities and database queries for unusual patterns. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious SQL injection attempts targeting the plugin's image compression status checks can provide an additional layer of defense. Regular security audits of WordPress multisite configurations and plugins should be conducted to identify and remediate similar vulnerabilities proactively. Furthermore, enforcing multi-factor authentication (MFA) for administrator accounts reduces the risk of credential compromise, thereby limiting the potential for exploitation. Backup strategies should be reviewed and tested to ensure rapid recovery in case of data manipulation or corruption.

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.

References

Community reviews

Loading reviews…