CVE-2023-6187

Paid Memberships Pro <= 2.12.3 - Authenticated (Subscriber+) Arbitrary File Upload

7.5 high EPSS 54.3%

Published 18 Nov 2023 Updated 8 Apr 2026 CNA: 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.

Severity (CVSS)

7.5 high CVSS 3.1 from Wordfence (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 54.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.0% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected products

As the CNA lists them.

ProductVersions
Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions
affected up to and including 2.12.3
Other versions: unaffected

Is my server affected?

This CVE is in Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions of strangerstudios, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2023-6187 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.