SQL Injection Vulnerability in WP-Optimize Plugin by WordPress
CVE-2025-3951
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 2 June 2025
Badges
What is CVE-2025-3951?
The WP-Optimize plugin for WordPress, specifically versions prior to 4.2.0, is vulnerable due to improper escaping of user input when verifying image compression statuses. This weakness can enable users with administrative privileges within a Multi-Site WordPress setup to execute SQL Injection attacks, potentially compromising database integrity and exposing sensitive information.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
WP-Optimize 0 < 4.2.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved