Contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection
The Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe plugin for WordPress is vulnerable to blind SQL Injection via the ‘cgLostPasswordEmail’ and the ’cgl_mail’ parameter in all versions up to, and including, 28.1.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerability's ’cgLostPasswordEmail’ parameter was patched in version 28.1.4, and the ’cgl_mail’ parameter was patched in version 28.1.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 28.1.4
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 94 days after publication; not in CISA KEV. First PoC: WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection (Exploit-DB, 5 Jun 2026).
PoC repositories
Found on GitHub.3 PoCs · 1 suspicious or fake
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| carlosalbertotuma/cve-2026-3180-poc | 8 Jun 2026 +98 d | 0 | PoC |
| cardosource/cve-2026-3180 | 12 Jun 2026 +101 d | 0 | PoC |
| CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit | 16 Jul 2026 +136 d | 1 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| i-maruf/Test-Labs | 10 Oct 2026 +222 d | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection | 5 Jun 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /wp-admin/admin-ajax.php
- Body markers
action=post_cg1l_resend_unconfirmed_mail_frontendcgl_mail=qualquer'OR/**/1=1#@teste.comcgl_page_id=1cgl_activation_key=cg_nonce=inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit
- Evidence
- CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit/README.md:785 CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit/README.md:90
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-3180 contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=post_cg1l_resend_unconfirmed_mail_frontend"; http.request_body; content:"cgl_mail=qualquer'OR/**/1=1#@teste.com"; http.request_body; content:"cgl_page_id=1"; http.request_body; content:"cgl_activation_key="; http.request_body; content:"cg_nonce="; reference:url,poc.griffinguard.io/cve/CVE-2026-3180; classtype:web-application-attack; sid:9234958; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe exploit attempt (CVE-2026-3180)
id: gg-pocmon-cve-2026-3180-9234958
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-3180. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-3180
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.3180