Contest Gallery <= 28.1.4 - Unauthenticated SQL Injection
Summary
| CVE | CVE-2026-3180 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-02 18:16:28 UTC |
| Updated | 2026-04-22 21:26:58 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.001190000 probability, percentile 0.307640000 (date 2026-04-22)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Contest-gallery | Contest Gallery Upload Vote Photos Media Sell With PayPal Stripe | affected 28.1.4 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/functions/general/cg-user... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/91d52a64-8dc1-4923-be0b-06800... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.3/v10/v10-admin/users/front... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.3/v10/v10-admin/users/front... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/v10/v10-admin/users/front... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/functions/general/cg-user... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Thomas Sanzey (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-02-25T06:06:41.000Z | Vendor Notified |
| CNA | 2026-03-02T04:44:39.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.