contest-gallery Contest Gallery Plugin up to 28.1.5 on WordPress user_activation_key improper authentication

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability was found in contest-gallery Contest Gallery Plugin up to 28.1.5 on WordPress. It has been rated as critical. Affected by this issue is the function user_activation_key of the file users-registry-check-after-email-or-pin-confirmation.php. This manipulation causes improper authentication. The identification of this vulnerability is CVE-2026-4021. It is possible to initiate the attack remotely. There is no exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as critical was found in contest-gallery Contest Gallery Plugin up to 28.1.5 on WordPress. Affected by this vulnerability is the function user_activation_key of the file users-registry-check-after-email-or-pin-confirmation.php. The manipulation with an unknown input leads to a improper authentication vulnerability. The CWE definition for the vulnerability is CWE-287. When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

The Contest Gallery plugin for WordPress is vulnerable to an authentication bypass leading to admin account takeover in all versions up to, and including, 28.1.5. This is due to the email confirmation handler in `users-registry-check-after-email-or-pin-confirmation.php` using the user's email string in a `WHERE ID = %s` clause instead of the numeric user ID, combined with an unauthenticated key-based login endpoint in `ajax-functions-frontend.php`. When the non-default `RegMailOptional=1` setting is enabled, an attacker can register with a crafted email starting with the target user ID (e.g., `[email protected]`), trigger the confirmation flow to overwrite the admin's `user_activation_key` via MySQL integer coercion, and then use the `post_cg1l_login_user_by_key` AJAX action to authenticate as the admin without any credentials. This makes it possible for unauthenticated attackers to take over any WordPress administrator account and gain full site control.

The weakness was shared by Supakiad S.. It is possible to read the advisory at wordfence.com. This vulnerability is known as CVE-2026-4021 since 03/11/2026. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

By approaching the search of inurl:users-registry-check-after-email-or-pin-confirmation.php it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 28.1.4 eliminates this vulnerability.

The vulnerability is also documented in the databases at CNNVD (CNNVD-202603-4628) and EUVD (EUVD-2026-14654). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 8.1
CNA Vector (Wordfence): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Improper authentication
CWE: CWE-287
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined
Google Hack: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Contest Gallery Plugin 28.1.4

Timelineinfo

03/11/2026 CVE reserved
03/24/2026 +13 days Advisory disclosed
03/24/2026 +0 days VulDB entry created
03/28/2026 +4 days VulDB entry last update

Sourcesinfo

Advisory: wordfence.com
Researcher: Supakiad S.
Status: Confirmed

CVE: CVE-2026-4021 (🔒)
GCVE (CVE): GCVE-0-2026-4021
GCVE (VulDB): GCVE-100-352639
EUVD: 🔒
CNNVD: CNNVD-202603-4628 - WordPress plugin Contest Gallery 授权问题漏洞

Entryinfo

Created: 03/24/2026 02:53
Updated: 03/28/2026 09:37
Changes: 03/24/2026 02:53 (68), 03/24/2026 06:04 (1), 03/25/2026 17:55 (6), 03/28/2026 09:37 (1)
Complete: 🔍
Cache ID: 216:ECE:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!