Strategic Overview
- Status
- Patched in 2.2.3
- Affected Plugin
- W3 Total Cache
- Affected Version
<= 2.2.2- CVSS
- 7.7High
- Weakness type
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CVE
CVE-2022-31090
At a glance
CVE-2022-31090 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor vulnerability in the W3 Total Cache WordPress plugin, affecting versions <= 2.2.2. It carries a CVSS score of 7.7 (reachable over the network; low attack complexity; high confidentiality impact). The issue is fixed in version 2.2.3; sites on affected versions should update now. Disclosed June 2022.
Vulnerability Overview
Guzzle, an extensible PHP HTTP client. `Authorization` headers on requests are sensitive information. In affected versions when using our Curl handler, it is possible to use the `CURLOPT_HTTPAUTH` option to specify an `Authorization` header. On making a request which responds with a redirect to a URI with a different origin (change in host, scheme or port), if we choose to follow it, we should remove the `CURLOPT_HTTPAUTH` option before continuing, stopping curl from appending the `Authorization` header to the new request. Affected Guzzle 7 users should upgrade to Guzzle 7.4.5 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.8 or 7.4.5. Note that a partial fix was implemented in Guzzle 7.4.2, where a change in host would trigger removal of the curl-added Authorization header, however this earlier fix did not cover change in scheme or change in port. If you do not require or expect redirects to be followed, one should simply disable redirects all together. Alternatively, one can specify to use the Guzzle steam handler backend, rather than curl. *Please note that while some WordPress plugins and themes may use this as a dependency, they may not be directly exploitable.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Reaching this weakness in W3 Total Cache <= 2.2.2 takes a caller who can reach the endpoint. Sensitive information exposure means data the application intended to keep internal is returned to a caller who should not be able to see it.
The disclosed data — credentials, tokens, customer records or internal paths — is usually worth more as material for a follow-up attack than as an end in itself. For W3 Total Cache the fix is 2.2.3: builds <= 2.2.2 are affected, anything from 2.2.3 onward is not.
Remediation
Update to version 2.2.3, or a newer patched version
How does WordSec protect against this?
The fix is the thing that ends this: W3 Total Cache 2.2.3 closes this, and updating the plugin is the step that ends it.
- Alerts
External References
Related records
Same weakness class
- 7.5CVE-2026-5032: W3 Total Cache <= 2.9.3 Security Token Exposure
CVE-2026-5032 - 7.5CVE-2019-6715: W3 Total Cache… File Read / Directory Traversal
CVE-2019-6715 - 7.5CVE-2012-6077: W3 Total Cache <= 0.9.2.4 Password Hash Extraction
CVE-2012-6077 - 7.5CVE-2012-6079: W3 Total Cache <= 0.9.2.4 Info Exposure
CVE-2012-6079
Other vulnerabilities in W3 Total Cache
- 9.8CVE-2026-27384: W3 Total Cache <= 2.9.1 Arbitrary Code Execution
CVE-2026-27384 - 9.8CVE-2013-2010: W3 Total Cache <= 0.9.2.8 Remote Code Execution
CVE-2013-2010 - 8.8W3 Total Cache <= 0.9.4.1 Arbitrary File Upload
- 8.8W3 Total Cache <= 0.9.4 CSRF leading to Stored Cross-Site Scripting
- 8.6W3 Total Cache <= 0.9.4 SSRF leading to Host Information Disclosure
- 8.5CVE-2024-12365: W3 Total Cache <= 2.8.1 Server-Side Request Forgery
CVE-2024-12365 - 8.1CVE-2026-57623: W3 Total Cache <= 2.9.4 Arbitrary Code Execution
CVE-2026-57623 - 8.1CVE-2025-9501: W3 Total Cache <= 2.8.12 Command Injection
CVE-2025-9501
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C