CVE-2025-3951
WordPress vulnerability analysis and mitigation

Overview

The WP-Optimize WordPress plugin before version 4.2.0 contains a SQL injection vulnerability (CVE-2025-3951) discovered in May 2025. The vulnerability affects the image compression status checking functionality and impacts WordPress installations in multi-site configurations (WPScan Details).

Technical details

The vulnerability stems from improper escaping of user input when checking image compression statuses. It has been assigned a CVSS v3.1 score of 4.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N. The vulnerability is classified as a SQL Injection (CWE-89) type issue (NVD, WPScan Details).

Impact

The vulnerability allows users with administrator privileges to conduct SQL Injection attacks specifically in WordPress multi-site configurations. The attack can lead to unauthorized database queries and potential data exposure (WPScan Details).

Mitigation and workarounds

Users are advised to upgrade to WP-Optimize version 4.2.0 or later, which contains the fix for this vulnerability (WPScan Details).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management