CVE-2021-24915
Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure
Record summary
CVE-2021-24915 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
Description
The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Mar 10, 2026 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
Contest Gallery – Photo Contest Plugin for WordPress | CVE List | 13.1.0.6 to < 13.1.0.6 | affected |
contest_galleryBrowse contest_gallery / contest_gallery | VulnCheck | Version data not supplied | |
Nuclei templates
1ProjectDiscoveryCRITICALContest Gallery < 13.1.0.6 - SQL injectionCVSS 9.8
The plugin does not have capability checks and does not sanitise or escape the cg-search-user-name-original parameter before using it in a SQL statement when exporting users from a gallery, which could allow unauthenticated to perform SQL injections attacks, as well as get the list of all users registered on the blog, including their username and email address.
Impact
Unauthenticated attackers can exploit SQL injection to extract database contents and enumerate all registered users including their email addresses, potentially facilitating targeted phishing attacks.
Remediation
Fixed in version 13.1.0.6
Source: ProjectDiscovery