{"id":"CVE-2021-24915","aliases":["CVE-2021-24915"],"related":[],"kind":"vulnerability","state":"published","title":"Contest Gallery < 13.1.0.6 - Missing Access Controls to Unauthenticated SQL injection / Email Address Disclosure","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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"El plugin Contest Gallery de WordPress versiones anteriores a 13.1.0.6, no presenta comprobaciones de capacidad y no sanea o escapa del parámetro cg-search-user-name-original antes de usarlo en una sentencia SQL cuando son exportados usuarios de una galería, lo que podría permitir a personas no autenticadas llevar a cabo ataques de inyecciones SQL, así como conseguir la lista de todos los usuarios registrados en el blog, incluyendo su nombre de usuario y dirección de correo electrónico","source":"nvd"}],"published":"2021-11-29T08:25:50.000Z","modified":"2026-06-17T03:41:07.680Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"13.1.0.6","fixed":"13.1.0.6","status":"affected"}],"vendor":"Unknown","product":"Contest Gallery – Photo Contest Plugin for WordPress","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"13.1.0.6"}],"vendor":"contest_gallery","product":"contest_gallery","cpe":"cpe:2.3:a:contest_gallery:contest_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/45ee86a7-1497-4c81-98b8-9a8e5b3d4fac","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/tpmiller87/6c05596fe27dd6f69f1aaba4cbb9c917","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Tyler Miller"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24915","url":"https://www.cve.org/CVERecord?id=CVE-2021-24915","licence":"CVE Terms of Use","modified":"2024-08-03T19:49:13.959Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24915","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24915","licence":"Public domain","modified":"2026-06-17T03:41:07.680Z"}],"updatedAt":"2026-11-25T22:58:05.770Z","epss":{"score":0.12004,"percentile":0.96224,"date":"2026-12-01T12:00:22.000Z"}}