CVE-2021-25114: SQL Injection in Paid Memberships Pro REST Route
- Vendor
- Strangerstudios
Paid Memberships Pro for WordPress versions before 2.6.7 fail to escape the discount_code parameter in an unauthenticated REST route before incorporating it into a SQL statement. An attacker can supply SQL-injection payloads through this parameter.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits SQL injection against the application's database through the affected unauthenticated REST endpoint. The available information does not specify the resulting database access level, data exposure, modification capabilities, or availability impact.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the vulnerable REST API endpoint, disable the plugin, or implement a web application firewall (WAF) rule to block malicious SQL injection attempts targeting the 'discount_code' parameter.
Remediation
Patch, then assume compromise.
Upgrade Paid Memberships Pro to version 2.6.7 or a later release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-25114 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-25114?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-25114.
- Is there a patch for CVE-2021-25114?
- Upgrade Paid Memberships Pro to version 2.6.7 or a later release.
- What products are affected by CVE-2021-25114?
- Strangerstudios Paid Memberships Pro.
- How severe is CVE-2021-25114?
- CVE-2021-25114 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 81.8% (100th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.