CVE-2026-107622

BuddyForms <= 2.10.5 - Unauthenticated Privilege Escalation to Form-Type Confusion via 'bf_post_type' Parameter

Published Nov 6, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
The BuddyForms plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.10.5 via a form-type confusion attack through the `bf_post_type` parameter. This is due to the public frontend submission handler `buddyforms_form_response_no_ajax()` authorizing logged-out submissions based solely on the target form's `public_submit` flag while independently trusting the attacker-supplied `$_POST['bf_post_type']` to determine the post type of the newly created object — a cross-check introduced in 2.10.2 applies only to existing posts (`post_id != 0`) and is completely bypassed for new-object creation — combined with the `save_post` listener `buddyforms_edit_form_save_meta_box_data()` lacking both a `current_user_can()` capability check and a form-builder nonce, causing it to unconditionally persist attacker-supplied `$_POST['buddyforms_options']` for any newly inserted `buddyforms` CPT post. This makes it possible for unauthenticated attackers to insert a rogue BuddyForms form configuration with an attacker-controlled `new_user_role` value into the live global form registry, then submit a registration through that form to create a new WordPress account with administrator-level privileges and achieve full site takeover. Exploitation requires the WordPress site to have "Anyone can register" enabled and at least one public BuddyForms form attached to a page, both of which are standard BuddyForms deployment configurations.

Analysis

AI-generated

Technical impact

The flaw allows an unauthenticated user to send a crafted request to BuddyForms’ public front‑end handler. By providing a value for the bf_post_type parameter, the attacker bypasses the post‑type cross‑check that normally protects new object creation. The plugin’s save_post callback then stores the attacker‑supplied options without verifying the current user or a nonce. When the form is used for user registration, the attacker can set the new_user_role to administrator, resulting in the creation of a WordPress account with full site‑wide administrative privileges. This is a form‑type confusion that enables unchecked privilege escalation.

Affected Systems

BuddyForms for WordPress from themekraft is vulnerable in all releases up to and including version 2.10.5. WordPress sites running this plugin with the "Anyone can register" option enabled and at least one publicly accessible form are affected by the described flaw.

Risk and Exploitability

The CVSS score of 9.8 marks this as a critical vulnerability. An exploit requires only that the site allows user registration and has a public form, conditions that are common in typical BuddyForms deployments, so the attack is straightforward. The EPSS score is not available, and the flaw is not listed in CISA KEV, but the severity and potential to create an administrator account make it a top‑priority risk for affected installations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade BuddyForms to version 2.10.6 or later, which removes the form‑type confusion and adds proper capability checks.
  • If an upgrade is not possible, disable the form’s public registration capability or limit the allowed new_user_role to a non‑administrator role in the form settings.
  • Enforce server‑side validation that the bf_post_type value matches the intended post type for the form and reject mismatched values.
  • Restrict WordPress role assignment by ensuring that only users with the capability to assign administrator roles can do so.

Generated by OpenCVE AI on November 6, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Themekraft
Themekraft buddyforms
Wordpress-extensions
Wordpress-extensions buddyforms
Vendors & Products Themekraft
Themekraft buddyforms
Wordpress-extensions
Wordpress-extensions buddyforms
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The BuddyForms plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.10.5 via a form-type confusion attack through the `bf_post_type` parameter. This is due to the public frontend submission handler `buddyforms_form_response_no_ajax()` authorizing logged-out submissions based solely on the target form's `public_submit` flag while independently trusting the attacker-supplied `$_POST['bf_post_type']` to determine the post type of the newly created object — a cross-check introduced in 2.10.2 applies only to existing posts (`post_id != 0`) and is completely bypassed for new-object creation — combined with the `save_post` listener `buddyforms_edit_form_save_meta_box_data()` lacking both a `current_user_can()` capability check and a form-builder nonce, causing it to unconditionally persist attacker-supplied `$_POST['buddyforms_options']` for any newly inserted `buddyforms` CPT post. This makes it possible for unauthenticated attackers to insert a rogue BuddyForms form configuration with an attacker-controlled `new_user_role` value into the live global form registry, then submit a registration through that form to create a new WordPress account with administrator-level privileges and achieve full site takeover. Exploitation requires the WordPress site to have "Anyone can register" enabled and at least one public BuddyForms form attached to a page, both of which are standard BuddyForms deployment configurations.
Title BuddyForms <= 2.10.5 - Unauthenticated Privilege Escalation to Form-Type Confusion via 'bf_post_type' Parameter
Weaknesses CWE-269
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 6, 2026, 3:15 PM
Reserved
Oct 8, 2026, 1:48 PM
Status
Deferred
Published
Nov 6, 2026, 12:17 PM
Modified
Nov 6, 2026, 4:17 PM