{"api_version":"1","generated_at":"2026-04-23T11:35:36+00:00","cve":"CVE-2022-4166","urls":{"html":"https://cve.report/CVE-2022-4166","api":"https://cve.report/api/cve/CVE-2022-4166.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4166","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4166"},"summary":{"title":"CVE-2022-4166","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.","state":"PUBLIC","assigner":"contact@wpscan.com","published_at":"2022-12-26 13:15:00","updated_at":"2023-11-07 03:57:00"},"problem_types":[],"metrics":[],"references":[{"url":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","name":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","refsource":"MISC","tags":[],"title":"Contest Gallery < 19.1.5 - Author+ SQL Injection WordPress Security Vulnerability","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12","name":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12","refsource":"MISC","tags":[],"title":"Security Bulletin","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4166","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4166","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"contest-gallery","cpe5":"contest_gallery","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4166","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"contest-gallery","cpe5":"contest_gallery","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"pro","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-4166","ASSIGNER":"contact@wpscan.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89 SQL Injection"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Unknown","product":{"product_data":[{"product_name":"Contest Gallery","version":{"version_data":[{"version_value":"0","version_affected":"="}]}},{"product_name":"Contest Gallery Pro","version":{"version_data":[{"version_value":"0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f","refsource":"MISC","name":"https://wpscan.com/vulnerability/6e7de2bb-5f71-4c27-ae79-4f6b2ba7f86f"},{"url":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12","refsource":"MISC","name":"https://bulletin.iese.de/post/contest-gallery_19-1-4-1_12"}]},"generator":{"engine":"WPScan CVE Generator"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"Kunal Sharma (University of Kaiserslautern)"},{"lang":"en","value":"Daniel Krohmer (Fraunhofer IESE)"},{"lang":"en","value":"WPScan"}]},"nvd":{"publishedDate":"2022-12-26 13:15:00","lastModifiedDate":"2023-11-07 03:57:00","problem_types":[],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:pro:wordpress:*:*","versionEndExcluding":"19.1.5.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:contest-gallery:contest_gallery:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"19.1.5.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}