{"id":"CVE-2021-24915","aliases":["EUVD-2021-11827","GHSA-986q-37xh-j7h2"],"status":"published","title":"Contest Gallery \u003c 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure","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":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.12004,"percentile":0.96184,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-862","CWE-89"],"published":"2021-11-29T08:25:50Z","modified":"2026-06-17T03:41:07Z","exploits":[{"source":"nuclei","id":"CVE-2021-24915","title":"Contest Gallery \u003c 13.1.0.6 - SQL injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24915.yaml"}],"products":[{"vendor":"contest_gallery","product":"contest_gallery"},{"vendor":"unknown","product":"contest gallery – photo contest plugin for wordpress"}],"references":[{"url":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24915"},{"url":"https://github.com/advisories/GHSA-986q-37xh-j7h2"}],"sources":{"cve":[{"id":"CVE-2021-24915","title":"Contest Gallery \u003c 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure","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","status":"published","published":"2021-11-29T08:25:50Z","modified":"2024-08-03T19:49:13.959Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-11827","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","status":"published","published":"2021-11-29T08:25:50Z","modified":"2024-08-03T19:49:13Z","updated_at":"2026-11-03T03:24:55.415131Z"}],"ghsa":[{"id":"GHSA-986q-37xh-j7h2","title":"The Contest Gallery WordPress plugin before 13.1.0.6 does not have capability checks and does not...","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","status":"published","published":"2021-11-30T00:00:49Z","modified":"2023-02-01T05:06:38Z","cwes":["CWE-89","CWE-862"],"updated_at":"2026-11-02T14:50:23.506103Z"}],"nvd":[{"id":"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","status":"published","published":"2021-11-29T09:15:07.97Z","modified":"2026-06-17T03:41:07.68Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:01.811115Z"}]}}
