Medium severity · published Jun 2, 2025
CVE-2025-3951
WP-Optimize < 4.2.0 - Admin+ SQLi
4.1
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WP
WP-Optimize ·
before 4.2.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-3951
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-3951
Exploit
https://wpscan.com/vulnerability/220c195f-3df3-4883-8e0b-a0cf019e6323/
More from WP-Optimize
6.1
CVE-2023-1119
Multiple Plugins - Cross-Site Scripting From Third-party Library
