CVE-2021-24915
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
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
12.004%
chance of exploitation in the next 30 days
higher than 96.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 1
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command
Timeline
- 2021-11-29Published by the CNA08:25 UTC
Exploit and advisory records
Nuclei templates:
- CVE-2021-24915: Contest Gallery < 13.1.0.6 - SQL injection
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| contest_gallery contest_gallery | before 13.1.0.6fixed in 13.1.0.6 | 13.1.0.6 |
References
- https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917
- https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-24915'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-24915'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-24915'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-24915'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).