CVE-2026-119071: W3 Total Cache <= 2.11.0 - Authenticated (Author+) File Deletion via 'w3tc_imageservice' Post Meta

Published Nov 27, 2026
·
Updated

The W3 Total Cache plugin for WordPress is vulnerable to unauthorized File Deletion in all versions up to, and including, 2.11.0 via the ajaxrevert() AJAX handler. The vulnerability exists because the removeoptimizations() function reads attacker-controlled values from the unprotected w3tcimageservice post meta key — which carries no underscore prefix and no registered authorization callback, making it writable by any user with editpost capability via WordPress's built-in custom-fields AJAX endpoint — and passes those values directly to wpdeleteattachment() with no check that the referenced ID is a child of the caller's own post, is an actual attachment, or that the caller holds deletepost capability on it. This makes it possible for authenticated attackers with Author-level access or above to permanently delete any WordPress attachment in the media library, including media files owned by other users along with their associated files on disk, regardless of ownership — a capability not available through the normal WordPress interface. The revert nonce is exposed via wplocalizescript on /wp-admin/upload.php to any user with uploadfiles capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.

Affected Software

1 affected component
wordpress/w3-total-cache<=2.11.0

Event History

Nov 27, 2026
CVE Published
via MITRE·04:45 AM
Data Sourced
via MITRE·04:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

Any authenticated WordPress user with Author-level access or higher can exploit it. The affected metadata can be written through WordPress's built-in custom-fields AJAX endpoint by users with the edit_post capability, and the revert nonce is available to users with upload_files capability.

2

What can an attacker delete?

An attacker can permanently delete arbitrary WordPress attachments from the media library, including attachments owned by other users. Associated media files on disk may also be deleted.

3

Does the attacker need permission to delete the targeted media item?

No. The vulnerable handler does not verify that the attachment belongs to the caller's post, that it is an attachment, or that the caller has delete_post permission for the referenced item.

4

How can I determine whether my installation is affected?

Installations running W3 Total Cache version 2.11.0 or earlier are affected according to the provided data. A practical exposure indicator is whether untrusted users have Author-level or higher WordPress access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203