← Back to search

CVE-2026-120070

8.8 HIGH

Published 2026-10-31 · Updated 2026-11-02

AI risk analysis

Summary
The plugin incorrectly validates shortcodes in post content by checking a sanitized copy instead of the final persisted version, allowing authenticated low-privilege users to inject privileged registration shortcodes that bypass blocklist checks and create high-privilege accounts.
Exploitability
Requires valid authentication with at least Subscriber-level permissions; no special conditions beyond standard WordPress access controls.
Blast radius
Authenticated attackers can create Editor accounts visible to all site visitors, enabling full administrative control over the WordPress installation.
Detection
Monitor for new user registrations with elevated roles (e.g., Editor) triggered by frontend post submissions; check database for `[wpuf-registration role="editor"]` shortcodes stored in post content fields.
Prioritized remediation
Upgrade to version 4.3.14 or later, which fixes the shortcode validation logic to inspect the actual persisted content rather than a sanitized copy.
privilege-escalationshortcode-injectionwordpressauthentication-bypassuser-registration

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

NVD description

The User Frontend – Membership, User Registration, User Profile, User Directory & Content Restriction with Frontend Post Submission plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.3.13 via the `post_content` parameter of the `submit_post()` function. The vulnerability exists because the protected-shortcode blocklist guard inspects the `sanitize_textarea_field()` copy of the submitted `post_content`, while the copy actually persisted to the database is processed through `wp_kses()`, whose `wp_kses_no_null()` step strips C0 control bytes — allowing an attacker to inject a single `\x01` byte inside the `[wpuf-registration]` tag name to defeat the `strpos()` blocklist check while the clean, functional shortcode is stored verbatim; `strip_shortcodes()` does not neutralize the stored shortcode either, because the Frontend container that registers it via `add_shortcode()` is only instantiated when `is_admin()` is false, and `admin-ajax` requests have `is_admin() === true`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject a `[wpuf-registration role="editor"]` shortcode into a published post, causing a live Editor-role registration form to be rendered publicly on the frontend that any visitor — or the attacker themselves — can submit to mint a WordPress Editor account with an immediately active privileged session when the default `autologin_after_registration` setting is enabled.

CVSS vector

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

Weaknesses

CWE-269

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.