Executive brief
The Cookie Consent WordPress plugin allows authenticated users with low-level permissions (such as subscribers) to modify sensitive plugin settings and access visitor consent logs that should only be accessible to administrators. An attacker with a subscriber account can disable consent banners, allow tracking before consent is given, and on paid plans, exfiltrate stored visitor consent data.
Technical details
The plugin implements incorrect authorization checks on its REST API consent-settings routes (update-settings, get-consent-logs, export-consent-logs), falling back to authentication-only validation instead of enforcing administrator-capability requirements. An authenticated subscriber can extract a WordPress REST nonce from the dashboard and use it with their session cookies to POST requests that modify the cookiez_settings option or retrieve consent logs. The vulnerability requires a valid WordPress account with Subscriber role or higher, and affects versions before 0.0.10. Patches are available in version 0.0.10.
Affected products
- cookiez Cookie Consent before 0.0.10
Timeline
- 2026-08-10: disclosed
- 2026-08-10: patched: Fixed in version 0.0.10