CVE-2026-5114
The SpeedyCache plugin for WordPress is vulnerable to Arbitrary File Read via Path Traversal in all versions up to, and including, 1.3.8. This is due to a mismatch between CSS URL validation (which allows query strings like `.css?...`) and path resolution (which strips query strings), combined with no validation that the resolved file is actually a CSS file. This makes it possible for authenticated attackers, with Administrator-level access and above, to read arbitrary files from the server (including `wp-config.php` and `/etc/passwd`) by injecting crafted `<link>` tags into page content, with the file contents written to publicly accessible cache files.
- Score
- CVSS 3.1 4.9 Medium
- Status
- Deferred - security@wordfence.com
- Published
- 2026-07-28
- Last modified
- 2026-07-29
- Weaknesses
- CWE-22
Affected products
References
- https://plugins.trac.wordpress.org/browser/speedycache/tags/1.3.7/main/css.php#L137
- https://plugins.trac.wordpress.org/browser/speedycache/tags/1.3.7/main/util.php#L75
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cfefcc38-764d-4dd9-b098-cdcad475d634?source=cve