CVE-2021-24915: contest_gallery SQL Injection
Vulnerability summary
CVE-2021-24915 is a critical (CVSS 9.8) SQL Injection vulnerability in contest_gallery. EPSS estimates a 11.55% chance of exploitation in the next 30 days, higher than 96% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 29-11-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
11.55%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
-1.15 pp
From 12.70% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 found6C05596Fe27Dd6F69F1Aaba4Cbb9C917
Maturity: poc
Exploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Contest_gallery1 product
- contest_gallery< 13.1.0.6
Unknown1 product
- contest gallery – photo contest plugin for wordpress≥ 13.1.0.6, < 13.1.0.6
Wordpress1 product
- contest-gallery≤ 13.1.0.5 (fixed in 13.1.0.6)
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4facX Refsource MISCExploitThird Party Advisory
- gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917X Refsource MISCExploitThird Party Advisory