CVE-2026-18385

Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.16.19 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via First Name / Last Name Profile Field

Published Aug 16, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
The The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 4.16.19. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute arbitrary shortcodes. The partial mitigation introduced via strip_shortcodes() on [profile-first-name] and [profile-last-name] can be bypassed through the [profile-display-name format="first_last_names"] render path, the [profile-bio] render path (which re-fetches the raw description meta), and the double-bracket escape sequence [[tag]], all of which allow attacker-controlled shortcode text to reach the outer do_shortcode() call.

Analysis

AI-generated

Technical impact

The Vulnerability allows a subscriber‑level or higher authenticated user to inject arbitrary shortcode content into the ProfilePress plugin’s user profile fields. By bypassing the strip_shortcodes guard, the malicious input reaches the outer do_shortcode call, potentially executing PHP code or other actions defined by the shortcode. This leads to partial code execution within the WordPress environment, facilitating further compromise, data exfiltration or site defacement. The impact is confined to authenticated users that can edit their own profile; unauthenticated users cannot trigger the exploit.

Affected Systems

All versions of the Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress up to and including 4.16.19 on WordPress sites. Any installation of this plugin with direct user‑managed profile fields is affected.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. EPSS is not listed, so the historical exploitation probability is unknown, and the vulnerability is not in the CISA KEV catalog. The authenticated attack vector (subscriber+) requires the attacker to have legitimate credentials, which limits the exposed attack surface compared to public bugs, but within a compromised or social‑engineered environment the risk remains significant. Because the issue stems from unchecked input that is later parsed by do_shortcode, an attacker with access can potentially execute arbitrary PHP code if the shortcode evaluates to one that does so. No public exploits are documented at this time, but the vulnerability could be leveraged maliciously once an attacker has a subscriber account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the ProfilePress plugin to the latest version that removes the vulnerable shortcode handling logic.
  • If an update is not immediately possible, temporarily disable the plugin or remove any shortcode components from user profile fields until a patch is applied.
  • For additional safety, restrict the subscriber role’s ability to edit profile fields or otherwise enforce server‑side sanitation on profile input to prevent the bypassed strip_shortcodes from reaching do_shortcode.

Generated by OpenCVE AI on August 16, 2026 at 05:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Properfraction
Properfraction paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – Profilepress
Wordpress
Wordpress wordpress
Vendors & Products Properfraction
Properfraction paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – Profilepress
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 4.16.19. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute arbitrary shortcodes. The partial mitigation introduced via strip_shortcodes() on [profile-first-name] and [profile-last-name] can be bypassed through the [profile-display-name format="first_last_names"] render path, the [profile-bio] render path (which re-fetches the raw description meta), and the double-bracket escape sequence [[tag]], all of which allow attacker-controlled shortcode text to reach the outer do_shortcode() call.
Title Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.16.19 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via First Name / Last Name Profile Field
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 17, 2026, 7:28 PM
Reserved
Jul 30, 2026, 12:55 PM
Status
Deferred
Published
Aug 16, 2026, 5:16 AM
Modified
Aug 20, 2026, 12:48 PM