{"id":"CVE-2022-4157","aliases":["EUVD-2022-51518","GHSA-9p2g-49fh-fv3m"],"status":"published","title":"Contest Gallery \u003c 19.1.5 - Admin+ SQL Injection","description":"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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) to leak sensitive information from the site's database.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00963,"percentile":0.61883,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2022-12-26T12:27:57Z","modified":"2026-06-17T05:20:07Z","products":[{"vendor":"contest-gallery","product":"contest_gallery"},{"vendor":"unknown","product":"contest gallery"},{"vendor":"unknown","product":"contest gallery pro"},{"vendor":"wasiliy strecker / contestgallery developer","product":"contest gallery"}],"references":[{"url":"https://wpscan.com/vulnerability/71feec63-67a5-482e-bf77-1396c306fae6","tags":["exploit","vdb-entry","technical-description","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_3","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4157"},{"url":"https://github.com/advisories/GHSA-9p2g-49fh-fv3m"}],"sources":{"cve":[{"id":"CVE-2022-4157","title":"Contest Gallery \u003c 19.1.5 - Admin+ SQL Injection","description":"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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) to leak sensitive information from the site's database.","status":"published","published":"2022-12-26T12:27:57.791Z","modified":"2025-04-11T23:27:16.019Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"updated_at":"2026-11-02T14:34:37.932195Z"}],"euvd":[{"id":"EUVD-2022-51518","description":"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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) to leak sensitive information from the site's database.","status":"published","published":"2022-12-26T12:27:57Z","modified":"2025-04-11T23:27:16Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:33.975888Z"}],"ghsa":[{"id":"GHSA-9p2g-49fh-fv3m","title":"The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before...","description":"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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) to leak sensitive information from the site's database.","status":"published","published":"2022-12-26T15:30:24Z","modified":"2023-01-28T05:01:29Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:43:34.628173Z"}],"nvd":[{"id":"CVE-2022-4157","description":"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_option_id POST parameter before concatenating it to an SQL query in export-votes-all.php. This may allow malicious users with administrator privileges (i.e. on multisite WordPress configurations) to leak sensitive information from the site's database.","status":"published","published":"2022-12-26T13:15:13.03Z","modified":"2026-06-17T05:20:07.37Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"updated_at":"2026-11-02T14:07:34.388163Z"}]}}
