Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction <= 3.1.4 - Unauthenticated Arbitrary Shortcode Execution via Merge Tag Values

Medium 6.5 CWE-94Fixed in 3.1.5
ID
WPSEC-2026-3352
Plugin
Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction (paid-member-subscriptions)
Affected
all versions before 3.1.5
Remediation
Update to 3.1.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-94
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-18
Attack surface
Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction on WPSec AttackSurface
Fix released
Published

Description

The Paid Membership Subscriptions plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via merge tag values in all versions up to, and including, 3.1.4. This is due to member-controlled values, such as the display name (which WordPress builds from the first and last name entered on the registration form), being placed unchanged into email content and restriction messages that are then passed through do_shortcode(). This makes it possible for unauthenticated attackers to execute arbitrary shortcodes, for example by registering with a shortcode as their first name, and receive the output in the emails the plugin sends.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0