GHSA-XX7M-R6P5-6HFV
Vulnerability from github – Published: 2026-11-27 06:31 – Updated: 2026-11-27 06:31The W3 Total Cache plugin for WordPress is vulnerable to unauthorized File Deletion in all versions up to, and including, 2.11.0 via the ajax_revert() AJAX handler. The vulnerability exists because the remove_optimizations() function reads attacker-controlled values from the unprotected w3tc_imageservice post meta key — which carries no underscore prefix and no registered authorization callback, making it writable by any user with edit_post capability via WordPress's built-in custom-fields AJAX endpoint — and passes those values directly to wp_delete_attachment() 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 delete_post 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 wp_localize_script on /wp-admin/upload.php to any user with upload_files capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.
{
"affected": [],
"aliases": [
"CVE-2026-119071"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-27T05:19:00Z",
"severity": "HIGH"
},
"details": "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 `ajax_revert()` AJAX handler. The vulnerability exists because the `remove_optimizations()` function reads attacker-controlled values from the unprotected `w3tc_imageservice` post meta key \u2014 which carries no underscore prefix and no registered authorization callback, making it writable by any user with `edit_post` capability via WordPress\u0027s built-in custom-fields AJAX endpoint \u2014 and passes those values directly to `wp_delete_attachment()` with no check that the referenced ID is a child of the caller\u0027s own post, is an actual attachment, or that the caller holds `delete_post` 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 \u2014 a capability not available through the normal WordPress interface. The revert nonce is exposed via `wp_localize_script` on `/wp-admin/upload.php` to any user with `upload_files` capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.",
"id": "GHSA-xx7m-r6p5-6hfv",
"modified": "2026-11-27T06:31:10Z",
"published": "2026-11-27T06:31:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119071"
},
{
"type": "WEB",
"url": "https://github.com/BoldGrid/w3-total-cache/tree/2.11.1"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L1727"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L1734"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Extension_ImageService_Plugin_Admin.php#L2113"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/abf0adac-e8d7-4438-b9d5-aa3f83e17a29?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.