# CVE-2026-3180: Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Published: 2026-03-02T17:23:36.186Z
- Modified: 2026-06-17T10:43:10.087Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe: up to 28.1.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/91d52a64-8dc1-4923-be0b-06800382151e?source=cve>
- <https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.3/v10/v10-admin/users/frontend/login/ajax/users-login-check-ajax-lost-password.php#L12>
- <https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.3/v10/v10-admin/users/frontend/login/ajax/users-login-check-ajax-lost-password.php#L27>
- <https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/functions/general/cg-user-functions.php#L140>
- <https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/functions/general/cg-user-functions.php#L140>
- <https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/v10/v10-admin/users/frontend/login/ajax/users-login-check-ajax-lost-password.php#L28>

## Sources

- CVE List: [CVE-2026-3180](https://www.cve.org/CVERecord?id=CVE-2026-3180), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-3180](https://nvd.nist.gov/vuln/detail/CVE-2026-3180), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3180 · Whole record: https://cve.day/CVE-2026-3180.json · Rebuilt by cve.day 2026-11-25T22:59:15.102Z
