Unauthorized File Deletion in W3 Total Cache Plugin for WordPress
CVE-2026-119071
What is CVE-2026-119071?
The W3 Total Cache plugin for WordPress exhibits a vulnerability that permits authenticated users with Author-level access or above to delete any media attachment from the WordPress media library. This occurs through the ajax_revert() AJAX handler, where the remove_optimizations() function applies attacker-controlled values from the writable w3tc_imageservice post meta key without proper authorization checks. As a result, users can exploit this weakness to permanently remove attachments owned by other users, compromising the integrity of the website's media. Additionally, the revert nonce provided via wp_localize_script on the WordPress admin upload page does not adequately protect against this issue, enabling further exploitation. Ensuring plugin updates and proper access controls are crucial for mitigation.
Affected Version(s)
W3 Total Cache 0 <= 2.11.0