### [CVE-2022-4163](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4163) ![](https://img.shields.io/static/v1?label=Product&message=Contest%20Gallery%20Pro&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=Contest%20Gallery&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%200%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brighgreen) ### 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_deactivate and cg_activate POST parameters before concatenating it to an SQL query in 2_deactivate.php and 4_activate.php, respectively. This may allow malicious users with at least author privilege to leak sensitive information from the site's database. ### POC #### Reference - https://bulletin.iese.de/post/contest-gallery_19-1-4-1_10 - https://wpscan.com/vulnerability/de0d7db7-f911-4f5f-97f6-885ca60822d1 #### Github No PoCs found on GitHub currently.