CVE-2026-136599: CubeWP Framework <= 1.1.33 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Tag Name
The CubeWP Framework plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'mtkeywords[]' parameter in all versions up to, and including, 1.1.33 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by Subscriber-level users because the cubewpfrontendrolecaps() filter incorrectly grants editposts during XML-RPC requests, allowing a Subscriber to create a draft via metaWeblog.newPost with a crafted mtkeywords[] tag name that survives sanitizetextfield storage intact and is subsequently served to unauthenticated visitors through the public nopriv AJAX endpoints.
Affected Software
Event History
Frequently Asked Questions
Does an attacker need a WordPress account to create the malicious content?
The described exploit path requires Subscriber-level access. During XML-RPC requests, the cubewp_frontend_role_caps() filter incorrectly grants the edit_posts capability, allowing a Subscriber to create a crafted draft through metaWeblog.newPost.
Who can trigger the injected script after a malicious draft is created?
The crafted tag name is subsequently served through public unauthenticated AJAX endpoints. As a result, unauthenticated visitors can execute the injected script when accessing an affected injected page.
What part of the application makes the payload persist?
A crafted mt_keywords[] tag name survives storage because sanitize_text_field does not remove the relevant payload. It is later rendered without sufficient output escaping in the DOM.