CVE-2026-18385: CWE-94 Improper Control of Generation of Code ('Code Injection') in properfraction Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress
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.
AI Analysis
Technical Summary
CVE-2026-18385 describes a code injection vulnerability (CWE-94) in the ProfilePress WordPress plugin that enables authenticated attackers with subscriber-level privileges or higher to execute arbitrary shortcodes. The root cause is insufficient validation of user-controlled input before invoking the do_shortcode function. Although some shortcode tags like [profile-first-name] and [profile-last-name] are partially mitigated by strip_shortcodes(), bypasses exist via the [profile-display-name format="first_last_names"] path, the [profile-bio] path which re-fetches raw meta descriptions, and the double-bracket escape sequence [[tag]]. These bypasses allow malicious shortcode content to reach the outer do_shortcode call, enabling code injection.
Potential Impact
An attacker with subscriber-level access or above can execute arbitrary shortcodes within the WordPress environment, potentially leading to limited confidentiality and integrity impact. The CVSS score of 5.4 (medium severity) reflects that the vulnerability requires low attack complexity and privileges but results in limited impact on confidentiality and integrity, with no impact on availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or remediation has been confirmed yet. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should consider restricting subscriber-level user capabilities or monitoring for suspicious shortcode usage if feasible. Avoid relying solely on partial mitigations such as strip_shortcodes() as bypasses exist.
CVE-2026-18385: CWE-94 Improper Control of Generation of Code ('Code Injection') in properfraction Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress
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.
CVSS v3.1
Score 5.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18385 describes a code injection vulnerability (CWE-94) in the ProfilePress WordPress plugin that enables authenticated attackers with subscriber-level privileges or higher to execute arbitrary shortcodes. The root cause is insufficient validation of user-controlled input before invoking the do_shortcode function. Although some shortcode tags like [profile-first-name] and [profile-last-name] are partially mitigated by strip_shortcodes(), bypasses exist via the [profile-display-name format="first_last_names"] path, the [profile-bio] path which re-fetches raw meta descriptions, and the double-bracket escape sequence [[tag]]. These bypasses allow malicious shortcode content to reach the outer do_shortcode call, enabling code injection.
Potential Impact
An attacker with subscriber-level access or above can execute arbitrary shortcodes within the WordPress environment, potentially leading to limited confidentiality and integrity impact. The CVSS score of 5.4 (medium severity) reflects that the vulnerability requires low attack complexity and privileges but results in limited impact on confidentiality and integrity, with no impact on availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or remediation has been confirmed yet. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should consider restricting subscriber-level user capabilities or monitoring for suspicious shortcode usage if feasible. Avoid relying solely on partial mitigations such as strip_shortcodes() as bypasses exist.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-30T12:55:20.137Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a813f8bbf8831d539784cf8
Added to database: 08/16/2026, 04:41:47 UTC
Last enriched: 08/23/2026, 13:19:09 UTC
Last updated: 09/06/2026, 10:52:07 UTC
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.