Description
The W3 Total Cache plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.9.4 via the setupSources function. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. Exploitation requires enabling manual minify mode and supplying a manual-format minify filename so that the hash is empty and the f_array[] entries are not overwritten before reaching setupSources().
References6
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.9.4/Mi…
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.9.4/Mi…
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.9.4/li…
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.9.4/li…
- plugins.trac.wordpress.org/changeset?reponame=&old=3585227%40w3…
- www.wordfence.com/threat-intel/vulnerabilities/id/e92cc06d-006f…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 3% percentile: 87 · as of 15 November 2026
- CWE
- CWE-22
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.