Privilege Escalation in Contest Gallery Plugin for WordPress by WordPress
CVE-2026-12165
8.8HIGH
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 17 June 2026
What is CVE-2026-12165?
The Contest Gallery plugin for WordPress is susceptible to privilege escalation due to improper handling of user roles. Authenticated users with author-level access can exploit the RegistryUserRole parameter to override the plugin's stored role with 'administrator'. This flaw arises from insufficient verification in the change-options-and-sizes.php file, where the current_user_can() function is inadequately implemented. As a result, a malicious actor can gain unauthorized administrative access, potentially compromising the security of the entire WordPress site.
Affected Version(s)
Contest Gallery β Upload & Vote Photos, Media, Sell with PayPal & Stripe 0 <= 30.0.2