{"id":"CVE-2026-3180","aliases":["EUVD-2026-9223","GHSA-rp64-3g3h-gwwv"],"status":"published","title":"Contest Gallery \u003c= 28.1.4 - Unauthenticated SQL Injection","description":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01118,"percentile":0.66533,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-89"],"published":"2026-03-02T17:23:36Z","modified":"2026-06-17T10:43:10Z","exploits":[{"source":"exploitdb","id":"EDB-52609","title":"WordPress Contest Gallery 28.1.4 - Unauthenticated Blind SQL Injection","type":"webapps","platform":"multiple","date":"2026-06-05","url":"https://www.exploit-db.com/exploits/52609"},{"source":"pocgithub","id":"CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit","title":"CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit","date":"2026-07-16","url":"https://github.com/CerberusMrXi/WP-Contest-Gallery-28.1.4-Exploit"},{"source":"pocgithub","id":"cardosource/cve-2026-3180","title":"cardosource/cve-2026-3180","date":"2026-06-12","url":"https://github.com/cardosource/cve-2026-3180"},{"source":"pocgithub","id":"carlosalbertotuma/cve-2026-3180-poc","title":"carlosalbertotuma/cve-2026-3180-poc","date":"2026-06-08","url":"https://github.com/carlosalbertotuma/cve-2026-3180-poc"}],"products":[{"vendor":"contest-gallery","product":"contest gallery – upload \u0026 vote photos, media, sell with paypal \u0026 stripe"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/91d52a64-8dc1-4923-be0b-06800382151e?source=cve"},{"url":"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"},{"url":"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"},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.4/functions/general/cg-user-functions.php#L140"},{"url":"https://plugins.trac.wordpress.org/browser/contest-gallery/tags/28.1.5/functions/general/cg-user-functions.php#L140"},{"url":"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"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3180"},{"url":"https://github.com/advisories/GHSA-rp64-3g3h-gwwv"}],"sources":{"cve":[{"id":"CVE-2026-3180","title":"Contest Gallery \u003c= 28.1.4 - Unauthenticated SQL Injection","description":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 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.","status":"published","published":"2026-03-02T17:23:36.186Z","modified":"2026-04-08T17:09:18.256Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T13:48:58.05327Z"}],"euvd":[{"id":"EUVD-2026-9223","description":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 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.","status":"published","published":"2026-03-02T17:23:36Z","modified":"2026-04-08T17:09:18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T19:24:49.380512Z"}],"ghsa":[{"id":"GHSA-rp64-3g3h-gwwv","title":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 Stripe plugin for WordPress...","description":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 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.","status":"published","published":"2026-03-02T18:31:46Z","modified":"2026-03-02T18:31:52Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:06:25.813045Z"}],"nvd":[{"id":"CVE-2026-3180","description":"The Contest Gallery – Upload \u0026 Vote Photos, Media, Sell with PayPal \u0026 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.","status":"published","published":"2026-03-02T18:16:28.297Z","modified":"2026-06-17T10:43:10.087Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:12:07.420927Z"}]}}
