Paid Memberships Pro < 2.3.3 - Authenticated SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2020-5579
CVSS 4.7 (Medium)
Publicly Published May 19, 2020
Last Updated January 27, 2023
Researcher Kenichi Okuno (Mitsui Bussan Secure Directions)


SQL injection vulnerability in the Paid Memberships versions prior to 2.3.3 allows attacker with administrator rights to execute arbitrary SQL commands via unspecified vectors. The 'discount_code_id' found in the ~/adminpages/orders.php is the specific parameter that is vulnerable.



1 affected software package

Software Type Plugin
Software Slug paid-memberships-pro (view on
Patched? Yes
Remediation Update to version 2.3.3, or a newer patched version
Affected Version
  • < 2.3.3
Patched Version
  • 2.3.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.