CVE-2026-12904: CWE-639 Authorization Bypass Through User-Controlled Key in stellarwp Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
The Kadence Blocks – Gutenberg Blocks for Page Builder Features plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 3.7.7. This is due to a mismatch between the object used for authorization and the object actually accessed in the Optimize_Rest_Controller's create_item(), get_item(), delete_item(), and bulk_delete_items() endpoints — authorization is checked via current_user_can('edit_post'/'delete_post', $post_id) against the user-supplied post_id, while the storage layer keys analysis records on sha256($post_path) from a separately supplied, attacker-controlled post_path parameter, with no enforcement that post_path corresponds to post_id. This makes it possible for authenticated attackers, with Contributor-level access and above, to read or delete optimizer analysis records belonging to posts owned by other users by submitting their own post_id (which passes the capability check) together with the victim post's path.
AI Analysis
Technical Summary
CVE-2026-12904 is an authorization bypass vulnerability in the Kadence Blocks – Gutenberg Blocks for Page Builder Features WordPress plugin (up to version 3.7.7). The vulnerability stems from an insecure direct object reference due to inconsistent authorization checks in the Optimize_Rest_Controller's create_item(), get_item(), delete_item(), and bulk_delete_items() endpoints. Authorization is performed using current_user_can('edit_post'/'delete_post', post_id) based on a user-supplied post_id parameter, but the actual data accessed or modified is keyed by sha256(post_path), where post_path is a separate attacker-controlled parameter. Because there is no enforcement that post_path corresponds to post_id, an authenticated attacker with Contributor-level or higher privileges can access or delete analysis records belonging to other users' posts by submitting their own post_id (which passes the capability check) along with the victim's post_path.
Potential Impact
An authenticated user with Contributor-level or higher privileges can bypass authorization controls to read or delete optimizer analysis records associated with posts owned by other users. This does not impact the confidentiality of post content itself but allows unauthorized access and deletion of analysis data related to posts, potentially affecting data integrity and availability of optimizer analysis records.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level and higher user access carefully and monitor for suspicious activity related to optimizer analysis records. Avoid exposing the vulnerable endpoints to untrusted users. Follow updates from the vendor stellarwp for an official fix or temporary mitigation.
CVE-2026-12904: CWE-639 Authorization Bypass Through User-Controlled Key in stellarwp Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
Description
The Kadence Blocks – Gutenberg Blocks for Page Builder Features plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 3.7.7. This is due to a mismatch between the object used for authorization and the object actually accessed in the Optimize_Rest_Controller's create_item(), get_item(), delete_item(), and bulk_delete_items() endpoints — authorization is checked via current_user_can('edit_post'/'delete_post', $post_id) against the user-supplied post_id, while the storage layer keys analysis records on sha256($post_path) from a separately supplied, attacker-controlled post_path parameter, with no enforcement that post_path corresponds to post_id. This makes it possible for authenticated attackers, with Contributor-level access and above, to read or delete optimizer analysis records belonging to posts owned by other users by submitting their own post_id (which passes the capability check) together with the victim post's path.
CVSS v3.1
Score 4.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12904 is an authorization bypass vulnerability in the Kadence Blocks – Gutenberg Blocks for Page Builder Features WordPress plugin (up to version 3.7.7). The vulnerability stems from an insecure direct object reference due to inconsistent authorization checks in the Optimize_Rest_Controller's create_item(), get_item(), delete_item(), and bulk_delete_items() endpoints. Authorization is performed using current_user_can('edit_post'/'delete_post', post_id) based on a user-supplied post_id parameter, but the actual data accessed or modified is keyed by sha256(post_path), where post_path is a separate attacker-controlled parameter. Because there is no enforcement that post_path corresponds to post_id, an authenticated attacker with Contributor-level or higher privileges can access or delete analysis records belonging to other users' posts by submitting their own post_id (which passes the capability check) along with the victim's post_path.
Potential Impact
An authenticated user with Contributor-level or higher privileges can bypass authorization controls to read or delete optimizer analysis records associated with posts owned by other users. This does not impact the confidentiality of post content itself but allows unauthorized access and deletion of analysis data related to posts, potentially affecting data integrity and availability of optimizer analysis records.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level and higher user access carefully and monitor for suspicious activity related to optimizer analysis records. Avoid exposing the vulnerable endpoints to untrusted users. Follow updates from the vendor stellarwp for an official fix or temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-22T14:33:57.344Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a44a07827e9c79719fbd565
Added to database: 07/01/2026, 05:07:04 UTC
Last enriched: 07/08/2026, 13:04:21 UTC
Last updated: 08/15/2026, 12:41:07 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.