{"id":"CVE-2022-4158","aliases":["CVE-2022-4158"],"related":[],"kind":"vulnerability","state":"published","title":"Contest Gallery < 19.1.5 - 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 cg_Fields POST parameter before concatenating it to an SQL query in users-registry-check-registering-and-login.php. This may allow malicious visitors 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 cg_Fields POST parameter before concatenating it to an SQL query in users-registry-check-registering-and-login.php. This may allow malicious visitors to leak sensitive information from the site's database.","source":"cvelist"},{"lang":"es","text":"El complemento de WordPress Contest Gallery anterior a 19.1.5.1 y el complemento de WordPress de Contest Gallery Pro anterior a 19.1.5.1 no escapan del parámetro POST cg_Fields antes de concatenarlo a una consulta SQL en users-registry-check-registering-and-login.php. Esto puede permitir que visitantes malintencionados filtren información confidencial de la base de datos del sitio.","source":"nvd"}],"published":"2022-12-26T12:28:02.718Z","modified":"2026-06-17T05:20:07.570Z","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/1b3b51af-ad73-4f8e-ba97-375b8a363b64","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_15","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-11T23:17:11.935Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4158","url":"https://www.cve.org/CVERecord?id=CVE-2022-4158","licence":"CVE Terms of Use","modified":"2025-04-11T23:17:39.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4158","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4158","licence":"Public domain","modified":"2026-06-17T05:20:07.570Z"}],"updatedAt":"2026-11-25T22:58:17.882Z","epss":{"score":0.00996,"percentile":0.6371,"date":"2026-12-02T12:00:21.000Z"}}