← Back to search

CVE-2026-92798

8.1 HIGH

Published 2026-10-17 · Updated 2026-10-19

AI risk analysis

Summary
The User Registration & Membership WordPress plugin (up to v5.2.8) allows unauthenticated attackers to execute arbitrary registered shortcodes via the HTTP_REFERER header, which is insufficiently sanitized and injected into a Content Restriction message processed by do_shortcode().
Exploitability
Exploitation is straightforward for unauthenticated attackers: they only need to send a request with a malicious HTTP_REFERER header containing a shortcode to any restricted page that uses the {{referrer_url}} smart tag in its message.
Blast radius
Successful exploitation allows arbitrary shortcode execution, potentially leading to full account takeover, data exfiltration, or privilege escalation depending on registered shortcodes, but does not directly affect availability.
Detection
Look for HTTP requests with a non-empty HTTP_REFERER header containing WordPress shortcode delimiters (e.g., [shortcode] or [shortcode attr=...]) targeting pages that render restricted content messages using {{referrer_url}}; such requests may indicate exploitation attempts.
Prioritized remediation
Upgrade to User Registration & Membership plugin version 5.2.9 or later, which addresses the vulnerability by properly sanitizing the referrer_url before shortcode substitution.
shortcode-executionwordpressunauthenticatedhttp-header-injectioncwe94

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-94

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.