Skip to main content
Vulnerability Database/CVE-2026-15989

CVE-2026-15989: Super Forms WordPress Privilege Escalation

CVE-2026-15989 is a privilege escalation flaw in Super Forms WordPress plugin that allows unauthenticated attackers to register accounts with Administrator privileges. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-15989 Overview

CVE-2026-15989 is a privilege escalation vulnerability in the Super Forms – Drag & Drop Form Builder plugin for WordPress. The flaw affects all versions up to and including 6.3.316. The Register & Login add-on's before_email_success_msg() function accepts a client-submitted role key and passes it directly to wp_insert_user() without validation. Unauthenticated attackers can submit role=administrator to any published registration form and create an Administrator account. The vulnerability maps to CWE-269: Improper Privilege Management.

Critical Impact

Unauthenticated attackers can register Administrator-level WordPress accounts by injecting a single parameter into any published Super Forms registration form, resulting in full site takeover.

Affected Products

  • Super Forms – Drag & Drop Form Builder plugin for WordPress
  • Super Forms Register & Login add-on
  • All plugin versions up to and including 6.3.316

Discovery Timeline

  • 2026-10-01 - CVE-2026-15989 published to the National Vulnerability Database
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-15989

Vulnerability Analysis

The vulnerability resides in the Register & Login add-on's before_email_success_msg() function. The function constructs a user-data array from client-submitted form fields and passes it to WordPress's wp_insert_user() API. The role field is included in the whitelisted keys that are forwarded to the user-creation call.

Attackers exploit this by submitting a crafted POST request to any published Super Forms registration form with register_login_action='register'. Adding role=administrator to the form data causes WordPress to create a new user with full administrative privileges. No authentication, user interaction, or prior account is required.

Once an attacker holds an Administrator account, they can install arbitrary plugins, upload PHP files, modify theme code, exfiltrate database contents, and pivot to the hosting environment. This represents complete loss of confidentiality, integrity, and availability for the affected WordPress site.

Root Cause

The root cause is missing authorization and missing input validation at the privilege boundary. Three defenses are absent in the vulnerable code path:

  • No comparison against the administrator-configured register_user_role setting
  • No allow-list restricting acceptable role values
  • No current_user_can() capability check before role assignment

Together these omissions let any unauthenticated submitter assign themselves any WordPress role, including administrator.

Attack Vector

Exploitation requires only network access to a WordPress site running a published Super Forms registration form. The attacker submits a standard form POST request and appends a role parameter set to administrator. The plugin processes the submission, calls wp_insert_user() with the attacker-controlled role, and returns success. The attacker then authenticates to /wp-admin/ with the credentials chosen during registration. See the Wordfence vulnerability report and the upstream GitHub pull request for the vendor fix.

Detection Methods for CVE-2026-15989

Indicators of Compromise

  • New WordPress users in wp_users with the administrator role whose creation time correlates with POST requests to Super Forms registration endpoints
  • HTTP POST requests to WordPress admin-ajax or form submission endpoints containing both register_login_action=register and role=administrator parameters
  • Entries in wp_usermeta where wp_capabilities is set to administrator for accounts created without legitimate admin action
  • Unexpected plugin or theme installations, PHP file uploads, or changes to wp-config.php following suspicious registrations

Detection Strategies

  • Inspect WordPress audit logs for user creation events where the assigned role differs from the configured default registration role
  • Deploy WAF rules that block or alert on POST bodies containing a role parameter to Super Forms submission endpoints
  • Query the WordPress database for accounts registered within the exposure window and filter by capability level
  • Correlate web server access logs with user-creation timestamps to identify the source IP of malicious registrations

Monitoring Recommendations

  • Alert on any newly created WordPress account that holds administrator capabilities outside of an approved change window
  • Monitor outbound requests from the WordPress host for unusual plugin downloads or reverse-shell callbacks after suspicious account creation
  • Track file integrity for wp-content/plugins/, wp-content/themes/, and wp-config.php to catch post-exploitation payloads

How to Mitigate CVE-2026-15989

Immediate Actions Required

  • Update the Super Forms plugin to a version later than 6.3.316 that incorporates the fix from the vendor GitHub pull request #205
  • Audit all WordPress accounts and remove any unauthorized users holding the administrator role
  • Rotate credentials, API keys, and secrets stored in wp-config.php and the database for sites that cannot confirm they were not exploited
  • Review installed plugins, themes, and uploaded files for webshells or backdoors introduced after the exposure window

Patch Information

The vendor fix is tracked in the upstream Super Forms GitHub pull request #205. The patch enforces server-side validation of the submitted role against the administrator-configured register_user_role and removes the attacker-controlled role key from the data passed to wp_insert_user(). Site owners should upgrade through the WordPress plugin updater or by replacing the plugin files with the patched release.

Workarounds

  • Temporarily unpublish or disable any Super Forms form configured with register_login_action='register' until the plugin is updated
  • Deploy a web application firewall rule that strips or rejects role parameters on requests to Super Forms submission handlers
  • Restrict access to the WordPress site registration workflow behind authentication, IP allow-listing, or a reverse-proxy challenge until patching is complete
bash
# Example WAF rule (ModSecurity) blocking role parameter injection on Super Forms submissions
SecRule REQUEST_URI "@contains admin-ajax.php" \
  "chain,id:1026015989,phase:2,deny,status:403,msg:'CVE-2026-15989 Super Forms role injection'"
  SecRule ARGS_NAMES "@streq role" \
    "chain"
    SecRule ARGS:action "@rx super_forms"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.