CVE-2026-18385 Code injection in Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress

Medium 5.4 Published Updated

Authenticated attackers can execute arbitrary shortcodes via profile fields, potentially leading to code execution in the WordPress environment.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18385?

CVE-2026-18385 is a medium-severity code injection vulnerability in properfraction Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress, published on 16 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-94

Which versions are affected by CVE-2026-18385?

How do I fix CVE-2026-18385?

No fix has been published for CVE-2026-18385 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-18385 being exploited?

There is no known exploitation of CVE-2026-18385 in the wild and no public exploit code.

Sources

Also known as GHSA-7fv3-hq52-c73p.

Is CVE-2026-18385 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free