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
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.
| Product | Versions |
|---|---|
| CubeWP Framework cubewp1211 | 1.1.32 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | Wordfence |
Weaknesses
- CWE-269 Improper Privilege Management
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/419f5a51-dc4f-4f1f-8102-1b7db860b6f6?source=cve
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.32/cube/functions/admin-functions.php#L3080
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.32/cube/functions/admin-functions.php#L3079
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.32/cube/functions/admin-functions.php#L3091
- https://plugins.trac.wordpress.org/changeset/3819066/cubewp-framework/trunk/cube/functions/admin-functions.php
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.