Home / contest-gallery / Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe / CVE-2026-4021
CVE-2026-4021: is it exploited, and which versions of Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe are affected and fixed?
CVE-2026-4021 is an authentication bypass (improper authentication) vulnerability in Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe through 28.1.5 (CVE record by Wordfence). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.1, CVSS 3.1, from Wordfence).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-4021?
Contest Gallery <= 28.1.5 - Unauthenticated Privilege Escalation Admin Account Takeover via Registration Confirmation Email-to-ID Type Confusion
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.
From the CVE record by Wordfence, last updated April 8, 2026, 17:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| contest-gallery | Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe | through 28.1.5 |
As the CVE record by Wordfence states it, last updated April 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-4021?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | Wordfence |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-4021 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 24, 2026)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 44.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f1b9725b-dee5-44ca-bb33-c6812fb76adc?source=cve
- https://plugins.trac.wordpress.org/browser/contest-gallery/trunk/v10/v10-admin/users/frontend/registry/users-registry-check-after-email-or-pin-confirmation.php#L153
- https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/v10/v10-admin/users/frontend/registry/users-registry-check-after-email-or-pin-confirmation.php#L153
- https://plugins.trac.wordpress.org/browser/contest-gallery/trunk/ajax/ajax-functions-frontend.php#L204
- https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/ajax/ajax-functions-frontend.php#L204
- https://plugins.trac.wordpress.org/changeset?old_path=/contest-gallery/tags/28.1.5&new_path=/contest-gallery/tags/28.1.6
Who found and reported it?
- Supakiad S. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 11, 2026
- Published
- March 23, 2026, 23:25 UTC
- CVE record updated
- April 8, 2026, 17:32 UTC by Wordfence
- NVD
- Deferred, last modified June 17, 2026, 10:55 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe?
- Sep 16, 2026CVE-2026-78088 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: unrestricted file upload
- Aug 15, 2026CVE-2026-16586 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: SQL injection
- Jun 17, 2026CVE-2026-12165 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: privilege escalation (improper privilege management)
- May 19, 2026CVE-2026-8912 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: SQL injection
- Mar 2, 2026CVE-2026-3180 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: SQL injection
- Nov 15, 2025CVE-2025-12849 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: missing authorization
- Oct 11, 2025CVE-2025-11254 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: CSV formula injection
- Oct 4, 2025CVE-2025-10383 Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: cross-site scripting (XSS)
Every CVE in Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
Questions about CVE-2026-4021
Is CVE-2026-4021 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe are affected by CVE-2026-4021?
Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe through 28.1.5, per the CVE record by Wordfence. The tables above give every range the sources list.
Which version fixes CVE-2026-4021?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-4021?
High (8.1, CVSS 3.1, from Wordfence). The severity table above shows each score with its source.
Where is the official record of CVE-2026-4021?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.