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
{ "versions": [ { "introduced": "2.4" }, { "fixed": "2.4.5" }, { "introduced": "2.5" }, { "fixed": "2.5.11" }, { "introduced": "2.6" }, { "fixed": "2.6.7" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25114.json"