{"id":"CVE-2022-4156","aliases":["CVE-2022-4156"],"related":[],"kind":"vulnerability","state":"published","title":"Contest Gallery < 19.1.5.1 - Unauthenticated SQL Injection","summary":"The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the user_id POST parameter before concatenating it to an SQL query in ajax-functions-backend.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the user_id POST parameter before concatenating it to an SQL query in ajax-functions-backend.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.","source":"cvelist"},{"lang":"es","text":"El complemento Contest Gallery de WordPress anterior a 19.1.5.1 y el complemento Contest Gallery Pro de WordPress anterior a 19.1.5.1 no escapan del parámetro POST user_id antes de concatenarlo a una consulta SQL en ajax-functions-backend.php. Esto puede permitir que usuarios malintencionados con al menos privilegios de autor filtren información confidencial de la base de datos del sitio.","source":"nvd"}],"published":"2022-12-26T12:28:07.463Z","modified":"2026-06-17T05:20:07.157Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"19.1.5.1","status":"affected"}],"vendor":"Unknown","product":"Contest Gallery","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"19.1.5.1","status":"affected"}],"vendor":"Unknown","product":"Contest Gallery Pro","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"19.1.5.1"},{"status":"affected","fixed":"19.1.5.1"}],"vendor":"contest-gallery","product":"contest_gallery","cpe":"cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/254f6e8b-5fa9-4d6d-8e0e-1a4cae18aee0","tags":["exploit","technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_1","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Kunal Sharma (University of Kaiserslautern)","Daniel Krohmer (Fraunhofer IESE)","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-14T14:16:07.879Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4156","url":"https://www.cve.org/CVERecord?id=CVE-2022-4156","licence":"CVE Terms of Use","modified":"2025-04-14T14:16:34.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4156","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4156","licence":"Public domain","modified":"2026-06-17T05:20:07.157Z"}],"updatedAt":"2026-11-25T22:58:17.882Z","epss":{"score":0.01061,"percentile":0.6556,"date":"2026-12-02T12:00:21.000Z"}}