Description
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 'referrer_url' branch of UR_Smart_Tags::process(), where the attacker-controlled HTTP_REFERER header is only passed through sanitize_text_field() — which does not strip WordPress shortcode delimiters — before being substituted into a Content Restriction message that is subsequently executed via apply_shortcodes()/do_shortcode(). This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes on any restricted page whose message uses the supported {{referrer_url}} smart tag.
Published: 2026-10-17
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary Shortcode Execution
Action: Immediate Patch
AI Analysis

Impact

The User Registration & Membership plugin for WordPress contains a flaw that allows an attacker to run arbitrary shortcodes by exploiting an insufficiently sanitized "referrer_url" custom tag. The value supplied via the HTTP_REFERER header is passed through sanitize_text_field()—which does not strip WordPress shortcode delimiters—before being inserted into a content restriction message and subsequently processed by apply_shortcodes()/do_shortcode(). This means an attacker can cause any registered shortcode to execute on a restricted page whose message uses the {{referrer_url}} smart tag.

Affected Systems

WordPress sites running versions 5.2.8 or earlier of the User Registration & Membership plugin from the vendor wpeverest are affected. The vulnerability manifests when a content‑restriction message includes the {{referrer_url}} smart tag.

Risk and Exploitability

The flaw has a CVSS score of 8.1, indicating high severity, and the EPSS score is not available. Because the attack vector is the HTTP_REFERER header, it can be triggered over the network from any user that can craft that header; no authentication is required beyond access to a restricted page. The path to exploitation is straightforward: craft a request to the target with a malicious Referer value containing a shortcode, and the plugin will execute it on the page.

Generated by OpenCVE AI on October 17, 2026 at 05:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest update to the User Registration & Membership plugin, which includes a fix for the sanitization issue.
  • If an immediate update is not possible, edit the content‑restriction message to remove the {{referrer_url}} smart tag or disable the feature that uses it, preventing the malicious header from being processed as a shortcode.
  • If neither of the above actions can be taken immediately, use a security plugin or server rule to block or strip the HTTP_REFERER header before it reaches the application.

Generated by OpenCVE AI on October 17, 2026 at 05:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 17 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Description 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 'referrer_url' branch of UR_Smart_Tags::process(), where the attacker-controlled HTTP_REFERER header is only passed through sanitize_text_field() — which does not strip WordPress shortcode delimiters — before being substituted into a Content Restriction message that is subsequently executed via apply_shortcodes()/do_shortcode(). This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes on any restricted page whose message uses the supported {{referrer_url}} smart tag.
Title User Registration & Membership <= 5.2.8 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Referer Header via 'referrer_url' Smart Tag
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-18T11:22:46.165Z

Reserved: 2026-09-16T19:44:13.265Z

Link: CVE-2026-92798

cve-icon Vulnrichment

Updated: 2026-10-18T11:15:18.347Z

cve-icon NVD

Status : Received

Published: 2026-10-17T04:17:10.257

Modified: 2026-10-18T12:17:16.597

Link: CVE-2026-92798

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T06:00:04Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')