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.
Published: 2026-11-06
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: Privilege Escalation
Action: Patch Immediately
AI Analysis

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.

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

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

History

Fri, 06 Nov 2026 11:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-06T11:17:36.216Z

Reserved: 2026-10-08T13:48:40.918Z

Link: CVE-2026-107622

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-06T12:17:16.020

Modified: 2026-11-06T12:17:16.147

Link: CVE-2026-107622

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T12:30:04Z

Weaknesses
  • CWE-269

    Improper Privilege Management