{"id":"CVE-2022-4160","aliases":["CVE-2022-4160"],"related":[],"kind":"vulnerability","state":"published","title":"Contest Gallery < 19.1.5 - Author+ 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_copy_id POST parameter before concatenating it to an SQL query in  cg-copy-comments.php and cg-copy-rating.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 cg_copy_id POST parameter before concatenating it to an SQL query in  cg-copy-comments.php and cg-copy-rating.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 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_copy_id antes de concatenarlo a una consulta SQL en cg-copy-comments.php y cg-copy-rating.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:17.582Z","modified":"2026-06-17T05:20:07.957Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"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/813de343-4814-42b8-b8df-1695320512cd","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_14","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":"no","technicalImpact":"partial","date":"2025-04-14T14:04:02.776Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4160","url":"https://www.cve.org/CVERecord?id=CVE-2022-4160","licence":"CVE Terms of Use","modified":"2025-04-14T14:05:14.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4160","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4160","licence":"Public domain","modified":"2026-06-17T05:20:07.957Z"}],"updatedAt":"2026-11-25T22:58:17.883Z","epss":{"score":0.01029,"percentile":0.64615,"date":"2026-12-01T12:00:22.000Z"}}