CVE-2021-24915 in the critical feed json
Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure
published 2021-11-29 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-11827
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.0%
- EPSS 12.0% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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
Patch / fix
- contest_gallery contest_gallery 13.1.0.6
Exploit prediction
12.00% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Contest Gallery < 13.1.0.6 - SQL injection nuclei detection template
- wpscan.com https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Unknown Contest Gallery – Photo Contest Plugin for WordPress
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
wpscan.com
/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac
exploit, third-party-advisory
-
gist.github.com
/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917
exploit, third-party-advisory
Sources
- CVE List CVE-2021-24915
- NVD CVE-2021-24915
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.