CVE-2026-92798: User Registration & Membership <= 5.2.8 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Referer Header via 'referrer_url' Smart Tag

Published Oct 17, 2026
·
Updated

The User Registration & Membership plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 5.2.8 This is due to insufficient input sanitization in the 'referrerurl' branch of URSmartTags::process(), where the attacker-controlled HTTPREFERER header is only passed through sanitizetextfield() — which does not strip WordPress shortcode delimiters — before being substituted into a Content Restriction message that is subsequently executed via applyshortcodes()/doshortcode(). This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes on any restricted page whose message uses the supported {{referrerurl}} smart tag.

Affected Software

1 affected component
WPEverest User Registration & Membership for WordPress<=5.2.8

Event History

Oct 17, 2026
CVE Published
via MITRE·03:43 AM
Data Sourced
via MITRE·03:43 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which sites are exposed to exploitation?

Sites running User Registration & Membership version 5.2.8 or earlier are exposed if they have a restricted page whose Content Restriction message includes the supported {{referrer_url}} smart tag. The issue can be reached remotely because the Referer header is attacker-controlled.

2

Does an attacker need an account or user interaction?

No. Although the classification text labels the issue as authenticated, the description states that unauthenticated attackers can exploit it. An attacker only needs to send a request with a Referer header containing shortcode syntax to an affected restricted page.

3

What makes the injected shortcode execute?

The plugin inserts the Referer header value into the restriction message after sanitize_text_field(), which does not remove WordPress shortcode delimiters. The resulting message is then processed through apply_shortcodes()/do_shortcode(), allowing registered shortcodes in the header value to run.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203