### [CVE-2021-25114](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25114) ![](https://img.shields.io/static/v1?label=Product&message=Paid%20Memberships%20Pro&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=2.6.7%3C%202.6.7%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brighgreen) ### Description The Paid Memberships Pro WordPress plugin before 2.6.7 does not escape the discount_code in one of its REST route (available to unauthenticated users) before using it in a SQL statement, leading to a SQL injection ### POC #### Reference - https://wpscan.com/vulnerability/6c25a5f0-a137-4ea5-9422-8ae393d7b76b #### Github - https://github.com/ARPSyndicate/kenzer-templates