Executive brief
Clearfy Cache is a popular WordPress plugin that optimizes site performance by managing caching and cleanup tasks. The plugin has a flaw in how it controls access to administrative settings pages, allowing any logged-in user (even those with minimal permissions like "Subscriber") to view sensitive admin-only pages, settings nonces, and configuration options. This could lead to exposure of security tokens that attackers could attempt to abuse or information disclosure about site configuration.
Technical details
The vulnerability is a broken access control (CWE-284) in the plugin's admin-page dispatcher. The plugin routes requests via a factory pattern using the fy_page, fy_plugin, fy_action, and fy_ajax query parameters, but fails to enforce capability checks on this dispatch path. While the canonical admin page correctly restricts access to administrators using WordPress capability checks, the dispatcher renders the same admin-only UI without verification. An authenticated user with Subscriber role or higher can access all seven admin pages (quick_start, advanced, performance, defence, clearfy_settings, seo, components) and retrieve administrative nonces and settings. However, downstream Clearfy handlers enforce administrator checks on state-changing operations, limiting impact to information disclosure. The vulnerability requires an active WordPress session and does not affect unauthenticated users. Fixed in version 2.4.3.
Affected products
- WebFactory Ltd Clearfy Cache before 2.4.3
Timeline
- 2026-07-27: disclosed
- 2026-07-27: patched: Fixed in version 2.4.3
- 2026-08-04: advisory