Vulnerabilities / WP-Optimize / WPSEC-2026-4611
WP-Optimize <= 4.7.1 - Missing Authorization to Page Cache Purge via Widget Save AJAX Action
Medium 4.3
CWE-862Fixed in 4.7.2
- ID
- WPSEC-2026-4611
- Plugin
- WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance (wp-optimize)
- Affected
- all versions before 4.7.2
- Remediation
- Update to 4.7.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Weakness
- CWE-862
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
- Attack surface
- WP-Optimize on WPSec AttackSurface
- Fix released
- Published
Description
The WP-Optimize plugin for WordPress is vulnerable to unauthorized cache purging in all versions up to, and including, 4.7.1 due to a missing capability check and nonce verification on the cache purge callback hooked to the wp_ajax_save-widget action, which fires before WordPress core validates the request. This makes it possible for authenticated attackers with Subscriber-level access and above to purge the entire page cache by sending a crafted AJAX request, degrading site performance.
References
- https://wpsec.com/vuln/WPSEC-2026-4611/
- https://plugins.svn.wordpress.org/wp-optimize/tags/4.7.2/
- https://wordpress.org/plugins/wp-optimize/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS