CVEs / CVE-2023-6187
CVE-2023-6187: strangerstudios Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions vulnerability
- high 8.8 CVSS 3.1 (NVD)
- EPSS 54% chance of exploitation in the next 30 days, higher than 99% of CVEs (18 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2023-6187
Description
The Paid Memberships Pro plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'pmpro_paypalexpress_session_vars_for_user_fields' function in versions up to, and including, 2.12.3. This makes it possible for authenticated attackers with subscriber privileges or above, to upload arbitrary files on the affected site's server which may make remote code execution possible. This can be exploited if 2Checkout (deprecated since version 2.6) or PayPal Express is set as the payment method and a custom user field is added that is only visible at profile, and not visible at checkout according to its settings.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| strangerstudios Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions | up to and including 2.12.3 | — |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 18 Nov 2026.
Severity
| CVSS 3.1 | 8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-434 |
References
- CVE-2023-6187 on NVD
- CVE-2023-6187 on OSV
- https://plugins.trac.wordpress.org/browser/paid-memberships-pro/tags/2.12.3/includes/fields.php#L564 Product
- https://plugins.trac.wordpress.org/changeset/2997319/paid-memberships-pro/tags/2.12.4/includes/fields.php Patch
- https://plugins.trac.wordpress.org/changeset/2997319/paid-memberships-pro/tags/2.12.4/includes/functions.php Patch
- https://www.paidmembershipspro.com/pmpro-update-2-12-4/ Product
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5979f2eb-2ca8-4b06-814c-c4236bb81af0?source=cve Patch, Third Party Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.