Privilege Escalation in Contest Gallery Plugin for WordPress
CVE-2026-12165
Key Information:
- Vendor
WordPress
- CVE ID
- CVE ID:
- CVE-2026-12165
- Vendor
- CVE Published:
- 17 June 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Contest Gallery β Upload & Vote Photos, Media, Sell With Paypal & Stripe. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8.8).
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
References
More WordPress Vulnerabilities
SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction