
A Blind SQL Injection vulnerability was discovered in the WordPress Contest Gallery plugin versions 28.1.4 and earlier. The issue occurs due to unsafe use of the cgl_maili parameter, where the sanitize_email() function preserves the single quote character (') in the local part of the email address.
As a result, user-controlled input reaches wpdb->get_row() without proper parameterization via prepare(), allowing unauthenticated attackers to perform boolean-based blind SQL injection.
| Attribute | Value |
|---|---|
| CVE ID | CVE-2026-3180 |
| Product | WordPress Contest Gallery |
| Affected Versions | ≤ 28.1.4 |
| Type | Blind SQL Injection (Boolean-based) |
| Authentication | Not required |
| Vector | admin-ajax.php via cgl_mail parameter |
/wp-admin/admin-ajax.php endpoint