{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-4157","id":"CVE-2022-4157","title":"Contest Gallery < 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.","descriptionLong":"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.","published":"2022-12-26T12:27:57.791Z","updated":"2026-06-17T05:20:07.370Z","reserved":"2022-11-28T15:03:03.379Z","status":"Modified","rejected":false,"assigner":"WPScan","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"CISA-ADP"}],"rating":"medium","products":["Contest Gallery","Contest Gallery Pro"],"affectedProducts":[{"vendor":"Unknown","product":"Contest Gallery","defaultStatus":"unaffected","versions":[{"status":"affected","versionType":"custom","version":"0","lessThan":"19.1.5.1"}],"platforms":[]},{"vendor":"Unknown","product":"Contest Gallery Pro","defaultStatus":"unaffected","versions":[{"status":"affected","versionType":"custom","version":"0","lessThan":"19.1.5.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00963,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-4157","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4157","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-4157","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-4157","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}