CVE-2026-3180 Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection
Unauthenticated attackers can exploit blind SQL injection to extract sensitive database information from the Contest Gallery WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-3180?
CVE-2026-3180 is a high-severity SQL injection vulnerability in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe, published on 2 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-3180?
How do I fix CVE-2026-3180?
No fix has been published for CVE-2026-3180 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-3180 being exploited?
There is no known exploitation of CVE-2026-3180 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry and 3 proofs of concept on GitHub.
Sources
Also known as GHSA-rp64-3g3h-gwwv.