# CVE-2023-6187: Paid Memberships Pro <= 2.12.3 - Authenticated (Subscriber+) Arbitrary File Upload

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 54.3%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-11-18T01:54:35.162Z
- Modified: 2026-06-17T06:50:15.880Z
- Weaknesses: CWE-434
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- strangerstudios Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions: up to 2.12.3
- strangerstudios paid_memberships_pro: up to 2.12.3

## Every score

- Wordfence: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/5979f2eb-2ca8-4b06-814c-c4236bb81af0?source=cve> (patch, third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/paid-memberships-pro/tags/2.12.3/includes/fields.php#L564> (product)
- <https://www.paidmembershipspro.com/pmpro-update-2-12-4/> (product)
- <https://plugins.trac.wordpress.org/changeset/2997319/paid-memberships-pro/tags/2.12.4/includes/functions.php> (patch)
- <https://plugins.trac.wordpress.org/changeset/2997319/paid-memberships-pro/tags/2.12.4/includes/fields.php> (patch)

## Sources

- CVE List: [CVE-2023-6187](https://www.cve.org/CVERecord?id=CVE-2023-6187), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2023-6187](https://nvd.nist.gov/vuln/detail/CVE-2023-6187), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6187 · Whole record: https://cve.day/CVE-2023-6187.json · Rebuilt by cve.day 2026-11-25T22:58:30.589Z
