{"id":"CVE-2022-4164","aliases":["CVE-2022-4164"],"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_multiple_files_for_post POST parameter before concatenating it to an SQL query in 0_change-gallery.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_multiple_files_for_post POST parameter before concatenating it to an SQL query in 0_change-gallery.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 de WordPress de Contest Gallery Pro anterior a 19.1.5.1 no escapan del parámetro POST cg_multiple_files_for_post antes de concatenarlo a una consulta SQL en 0_change-gallery.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:09.824Z","modified":"2026-06-17T05:20:08.770Z","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/57fff222-2c64-4b52-86cd-ab8db4541627","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_11","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-14T13:30:05.979Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4164","url":"https://www.cve.org/CVERecord?id=CVE-2022-4164","licence":"CVE Terms of Use","modified":"2025-04-14T13:30:49.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4164","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4164","licence":"Public domain","modified":"2026-06-17T05:20:08.770Z"}],"updatedAt":"2026-11-25T22:58:17.884Z","epss":{"score":0.00965,"percentile":0.62747,"date":"2026-12-02T12:00:21.000Z"}}