User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder <= 5.3.1 - Unauthenticated Arbitrary Shortcode Execution via 'ur_error' and 'info' Parameters
- ID
- WPSEC-2026-2711
- Plugin
- User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder (user-registration)
- Affected
- all versions before 5.3.2
- Remediation
- Update to 5.3.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weakness
- CWE-94
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-07
- Attack surface
- User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder on WPSec AttackSurface
- Fix released
- Published
Description
The User Registration & Membership plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the 'ur_error' and 'info' query parameters in all versions up to, and including, 5.3.1, due to the plugin adding these values to front-end login notices and the membership thank-you page with their square brackets intact. That output is then passed through do_shortcode(): the login preview injects it into the_content before shortcodes run, and the plugin's Login Form, My Account and Thank You blocks are rendered before the_content runs shortcodes. Any visitor could also turn on the login preview just by adding 'ur_login_preview' to a URL. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
References
- https://wpsec.com/vuln/WPSEC-2026-2711/
- https://plugins.svn.wordpress.org/user-registration/tags/5.3.2/
- https://wordpress.org/plugins/user-registration/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS