### [CVE-2021-24399](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24399) ![](https://img.shields.io/static/v1?label=Product&message=The%20Sorter&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brightgreen) ### Description The check_order function of The Sorter WordPress plugin through 1.0 uses an `area_id` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. ### POC #### Reference - https://codevigilant.com/disclosure/2021/wp-plugin-the-sorter/ - https://wpscan.com/vulnerability/f7af0795-f111-4acc-9b1e-63cae5862f8b #### Github - https://github.com/20142995/nuclei-templates