CVE-2026-3180
7.5Contest Gallery · Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
The Contest Gallery WordPress plugin is vulnerable to blind SQL injection via the cgLostPasswordEmail and cgl_mail parameters, allowing unauthenticated attackers to extract sensitive database data.
Executive summary
The Contest Gallery plugin for WordPress contains a critical SQL injection vulnerability that allows unauthenticated remote attackers to extract sensitive database information.
Vulnerability
This is a blind SQL injection vulnerability (CWE-89) caused by insufficient input validation and improper escaping of user-supplied parameters. Unauthenticated attackers can leverage this flaw to append malicious SQL queries to existing database operations, potentially exposing sensitive application data.
Business impact
Successful exploitation allows unauthorized third parties to bypass security controls and exfiltrate sensitive data from the WordPress database. Given the CVSS score of 7.5, this high-severity flaw poses a significant risk to data confidentiality, potentially leading to the compromise of user credentials, personal information, or proprietary business data.
Remediation
Immediate Action: Update the Contest Gallery plugin to version 28.1.5 or later, which contains the necessary security fixes for both vulnerable parameters.
Proactive Monitoring: Monitor server access logs for anomalous HTTP requests targeting AJAX endpoints, specifically focusing on parameters related to lost password functions.
Compensating Controls: Deploy a Web Application Firewall (WAF) with custom rules to block SQL injection patterns targeting the identified parameters until the plugin can be updated.
Exploitation status
Public Exploit Available: Yes, a public exploit exists via an ExploitDB entry and multiple public GitHub proof-of-concept repositories.
Analyst recommendation
This vulnerability represents a significant security risk due to the presence of public exploit code and the ease of exploitation by unauthenticated actors. Administrators must prioritize updating the Contest Gallery plugin to version 28.1.5 immediately to prevent potential data breaches and unauthorized access to backend database systems.
More Contest Gallery CVEs
Sources
Originally found and disclosed by Thomas Sanzey, per the CVE Program record.