# CVE-2021-24915: Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 12.0%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-11-29T08:25:50.000Z
- Modified: 2026-06-17T03:41:07.680Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Unknown Contest Gallery – Photo Contest Plugin for WordPress: from 13.1.0.6 before 13.1.0.6
- contest_gallery contest_gallery: before 13.1.0.6

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac> (exploit, third-party-advisory)
- <https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24915](https://www.cve.org/CVERecord?id=CVE-2021-24915), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24915](https://nvd.nist.gov/vuln/detail/CVE-2021-24915), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24915 · Whole record: https://cve.day/CVE-2021-24915.json · Rebuilt by cve.day 2026-11-25T22:58:05.770Z
