← Back to search

CVE-2026-110018

8.8 HIGH

Published 2026-10-24 · Updated 2026-10-26

AI risk analysis

Summary
The plugin exposes a REST endpoint that allows authenticated users with Contributor-level access to escalate their role to Editor or other non-administrator roles by injecting an arbitrary 'roleSlug' in a block attribute without proper validation, bypassing the intended registration-only check.
Exploitability
Exploitation requires a valid wp_rest nonce and ownership of the post containing the malicious block, limiting it to authenticated users with at least Contributor privileges.
Blast radius
Successful exploitation grants full elevated privileges (e.g., Editor), enabling unauthorized content modification, user management, and potential lateral movement within the WordPress environment.
Detection
Monitor for REST API requests to /ablocks/v1/form-builder/registration from users with low-privilege roles (e.g., Contributor) containing post_content with a block having formType='login' but an unexpected roleSlug in its attributes.
Prioritized remediation
Upgrade to aBlocks version 2.17.1 or later, where the endpoint properly validates that the block's formType is 'registration' before processing role assignment.
privilege-escalationrest-apiwordpressrole-abuseauthentication-bypass

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

NVD description

The aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.17.0 via the `/ablocks/v1/form-builder/registration` REST endpoint. The vulnerability exists because the endpoint is registered with `permission_callback => __return_true` and the `register()` handler reads `roleSlug` directly from attacker-controlled block attributes in `post_content` without ever verifying that the block's `formType` is `registration` — a condition that `RegistrationFormSanitizer::verify()` imposes only at save-time, meaning a Contributor can preserve an arbitrary `roleSlug` by saving a block with `formType='login'` and then triggering the endpoint via a valid `wp_rest` nonce and post-ownership check. This makes it possible for authenticated attackers, with Contributor-level access and above, to escalate their WordPress role to Editor or any other non-administrator role and receive a fully authenticated session at the elevated privilege level via `WP_User::set_role()` and `wp_set_auth_cookie()`. Escalation is bounded below administrator-tier roles because `is_safe_registration_role()` rejects any role holding `manage_options`, `edit_users`, `delete_users`, `create_users`, `promote_users`, or `edit_theme_options`, meaning the highest practically reachable role on a standard WordPress installation is Editor.

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.