Easy Optimizer <= 2.7.5 - Unauthenticated Sensitive Information Exposure via Forged 'easyopt_user_role' Cookie
- ID
- WPSEC-2026-2923
- Plugin
- Easy Optimizer – Speed, Cache & Core Web Vitals for PageSpeed (Unused CSS, Delay JS) (easy-optimizer)
- Affected
- from 2.6.6 before 2.8.0
- Remediation
- Update to 2.8.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-565
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-12
- Attack surface
- Easy Optimizer on WPSec AttackSurface
- Fix released
- Published
Description
The Easy Optimizer plugin for WordPress is vulnerable to Sensitive Information Exposure via the page cache drop-in (advanced-cache.php) in all versions up to, and including, 2.7.5, due to the drop-in treating any request with a cookie whose name starts with 'wordpress_logged_in_' as logged in and then picking which logged-in cached copy to serve from the unsigned, client-controlled 'easyopt_user_role' cookie. This makes it possible for unauthenticated attackers to send a cookie with that name and any value, set 'easyopt_user_role' to another role (such as administrator) or per-user tag, and receive the page copy cached for that role or user, exposing content meant only for those users. Exploitation requires the non-default 'Cache for logged-in users' setting to be enabled.
References
- https://wpsec.com/vuln/WPSEC-2026-2923/
- https://plugins.svn.wordpress.org/easy-optimizer/tags/2.8.0/
- https://wordpress.org/plugins/easy-optimizer/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS