Paid Memberships Pro <= 2.6.6 - Unauthenticated SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-25114
CVSS Critical (9.8)
Publicly Published January 7, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając
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

References

1 affected software package

Software Type Plugin
Software Slug paid-memberships-pro (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.6.7
Patched Version
  • 2.6.7
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.