### [CVE-2021-24139](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24139) ![](https://img.shields.io/static/v1?label=Product&message=Photo%20Gallery%20by%2010Web&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.5.55%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brightgreen) ### Description Unvalidated input in the Photo Gallery (10Web Photo Gallery) WordPress plugin, versions before 1.5.55, leads to SQL injection via the frontend/models/model.php bwg_search_x parameter. ### POC #### Reference - https://wpscan.com/vulnerability/2e33088e-7b93-44af-aa6a-e5d924f86e28 #### Github - https://github.com/20142995/nuclei-templates - https://github.com/El-Palomo/EVM1