WP-Optimize <= 4.5.0 — Missing Authorization to Authenticated (Subscriber+) Plugin Settings Update and Image Manipulation
CVE-2026-2712Published · Updated Action summary
Affected: ≤4.5.0Update to 4.5.1 or newer
All remediation steps- Severity
- Medium5.4
- CVSS
- 5.4CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:LIntegrity- Low
A:LAvailability- Low
- Weakness
- CWE-863 Incorrect Authorization
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance wp-optimize
- Affected≤ 4.5.0
- Patched in4.5.1
Update to 4.5.1 or newer.
You are affected if you run ≤ 4.5.0. Version 4.5.1 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 4.5.1, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Dmitrii Ignatyev.
The WP-Optimize plugin for WordPress is vulnerable to unauthorized access of functionality due to missing capability checks in the `receive_heartbeat()` function in `includes/class-wp-optimize-heartbeat.php` in all versions up to, and including, 4.5.0. This is due to the Heartbeat handler directly invoking `Updraft_Smush_Manager_Commands` methods without verifying user capabilities, nonce tokens, or the allowed commands whitelist that the normal AJAX handler (`updraft_smush_ajax`) enforces. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke admin-only Smush operations including reading log files (`get_smush_logs`), deleting all backup images (`clean_all_backup_images`), triggering bulk image processing (`process_bulk_smush`), and modifying Smush options (`update_smush_options`).
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
All 5| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High8.1 | Authenticated (Author+) Arbitrary File Deletion via 'original-file' Post Meta ≤4.5.2Update to 4.5.3 | CVE-2026-7252 | |
| Medium4.9 | Authenticated (Admin+) SQL Injection ≤4.1.1Update to 4.2.0 | CVE-2025-3951 | |
| Medium6.1 | Stored/Reflected Cross-Site Scripting via Third Party Library ≤2.4Update to 2.4.1 | CVE-2023-1119 | |
| Medium6.5 | Cross-Site Request Forgery ≤3.2.11Update to 3.2.12 | — |
- High8.1Authenticated (Author+) Arbitrary File Deletion via 'original-file' Post Meta
≤4.5.2Update to 4.5.3
- Medium4.9Authenticated (Admin+) SQL Injection
≤4.1.1Update to 4.2.0
- Medium6.1Stored/Reflected Cross-Site Scripting via Third Party Library
≤2.4Update to 2.4.1
- Medium6.5Cross-Site Request Forgery
≤3.2.11Update to 3.2.12
Timeline
CVE published
Severity medium, CVSS 5.4
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
