CubeWP Framework <= 1.1.32 - Authenticated (Subscriber+) Limited Privilege Escalation via 'user_has_cap' Filter

State
Published
Severity
5.4 Medium
Published
Nov 26, 2026
Updated
Nov 30, 2026
Reserved
Nov 19, 2026

Read the record on cve.org

Description

The CubeWP Framework plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.1.32 This is due to the `cubewp_frontend_role_caps()` function, registered on the `user_has_cap` filter, which excludes REST API requests via a `REST_REQUEST` guard but omits a corresponding `XMLRPC_REQUEST` check, causing it to unconditionally widen capabilities for any Subscriber or Contributor on XML-RPC and admin-ajax.php request paths. This makes it possible for authenticated attackers with Subscriber-level access and above to escalate their privileges to the full Contributor role capability set — gaining `edit_posts`, `delete_posts`, and `read` — allowing them to create, edit, and delete posts through core XML-RPC methods such as `wp.newPost`. Critically, the capability widening is not scoped to CubeWP's own submission handlers but applies globally to all core capability gates on affected request paths, meaning any Subscriber account can exploit this with a single standard XML-RPC call and no CubeWP-specific interaction. Successful exploitation causes the attacker's own account to receive every capability defined for the Contributor role.

ProductVersions
CubeWP Framework cubewp12111.1.32 and earlier Affected

Weaknesses

  • CWE-269 Improper Privilege Management

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.