{"schemaVersion":3,"id":"CVE-2022-4166","aliases":[],"status":"published","duplicateOf":null,"title":null,"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 addCountS POST parameter before concatenating it to an SQL query in 4_activate.php. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.","dates":{"published":"2022-12-26T12:28:04.308Z","modified":"2025-04-11T23:13:55.632Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"wordfence","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00879,"percentile":0.58402,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.02499999999999985,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00854},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00879,"percentile":0.58402}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00854,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00879,"percentile":0.58402}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C6346897213BD8AA","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_D02E24C88A1DD345","name":"Exploit Reference (bulletin.iese.de)","source":"reference","url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"contest-gallery","product":"contest_gallery","name":"contest gallery","label":"contest_gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.1.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.1.5.1","eol":null,"hubHref":"/vendor/contest-gallery/contest_gallery"},{"vendor":"unknown","product":"contest gallery","name":"Contest Gallery","label":"contest gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.1.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.1.5.1","eol":null,"hubHref":"/vendor/unknown/contest_gallery"},{"vendor":"unknown","product":"contest gallery pro","name":"Contest Gallery Pro","label":"contest gallery pro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.1.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.1.5.1","eol":null,"hubHref":"/vendor/unknown/contest_gallery_pro"},{"vendor":"wordpress","product":"contest-gallery","name":"Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe","label":"contest-gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 19.1.4.1 (fixed in 19.1.5)","noFixRecorded":false,"fixedIn":"19.1.5"}],"versionsText":"≤ 19.1.4.1 (fixed in 19.1.5)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"contest-gallery-pro","name":"Contest Gallery Pro","label":"contest-gallery-pro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 19.1.4.1 (fixed in 19.1.5)","noFixRecorded":false,"fixedIn":"19.1.5"}],"versionsText":"≤ 19.1.4.1 (fixed in 19.1.5)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","label":"wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","hostname":"wpscan.com","tags":["Exploit","VDB Entry","Technical Description","Third Party Advisory"]},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12","label":"bulletin.iese.de/post/contest-gallery_19-1-4-1_12","hostname":"bulletin.iese.de","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f185709e-0d13-48d3-9c15-03466b72dac2","label":"www.wordfence.com/threat-intel/vulnerabilities/id/f185709e-0d13-48d3-9c15-03466b72dac2","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-26T12:28:04.308Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-11T23:13:55.632Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:44:06.599Z","stale":false,"partial":false}}