Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/user-registration/tags/5.2.8/includes
- https://plugins.trac.wordpress.org/browser/user-registration/tags/5.2.8/includes
- https://plugins.trac.wordpress.org/browser/user-registration/tags/5.2.8/modules/
- https://plugins.trac.wordpress.org/browser/user-registration/tags/5.2.8/modules/
- https://plugins.trac.wordpress.org/changeset/3741339/user-registration/trunk/inc
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ec317df9-c7ef-49a3-981
FAQ
What is CVE-2026-92798?
CVE-2026-92798 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 're...
How severe is CVE-2026-92798?
CVE-2026-92798 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-92798?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.