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
The Kadence Blocks plugin for WordPress is vulnerable to an Insecure Direct Object Reference due to a mismatch between the authorization object and the accessed object in the Optimize_Rest_Controller endpoints (create_item(), get_item(), delete_item(), bulk_delete_items()). Authorization checks use current_user_can('edit_post'/'delete_post', $post_id) against a user-supplied post_id, but the storage keys analysis records by sha256($post_path), where post_path is attacker-controlled and not verified to correspond to post_id. This allows authenticated attackers with Contributor-level or higher privileges to read or delete analysis records belonging to posts owned by other users by submitting their own post_id (passing capability checks) with a victim's post_path.
Potential Impact
Authenticated users with Contributor-level access or higher can bypass authorization controls to read or delete optimizer analysis records associated with posts they do not own. This leads to unauthorized modification or disclosure of data related to other users' posts. The vulnerability does not impact confidentiality of the post content itself, nor does it affect availability beyond the analysis records. The CVSS score of 4.3 reflects limited impact confined to integrity of analysis data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, restrict Contributor-level and higher user access carefully and monitor for suspicious activity related to optimizer analysis records. Avoid relying solely on post_id-based authorization checks without verifying consistency with post_path or other keys.
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
The Kadence Blocks plugin for WordPress is vulnerable to an Insecure Direct Object Reference due to a mismatch between the authorization object and the accessed object in the Optimize_Rest_Controller endpoints (create_item(), get_item(), delete_item(), bulk_delete_items()). Authorization checks use current_user_can('edit_post'/'delete_post', $post_id) against a user-supplied post_id, but the storage keys analysis records by sha256($post_path), where post_path is attacker-controlled and not verified to correspond to post_id. This allows authenticated attackers with Contributor-level or higher privileges to read or delete analysis records belonging to posts owned by other users by submitting their own post_id (passing capability checks) with a victim's post_path.
Potential Impact
Authenticated users with Contributor-level access or higher can bypass authorization controls to read or delete optimizer analysis records associated with posts they do not own. This leads to unauthorized modification or disclosure of data related to other users' posts. The vulnerability does not impact confidentiality of the post content itself, nor does it affect availability beyond the analysis records. The CVSS score of 4.3 reflects limited impact confined to integrity of analysis data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, restrict Contributor-level and higher user access carefully and monitor for suspicious activity related to optimizer analysis records. Avoid relying solely on post_id-based authorization checks without verifying consistency with post_path or other keys.
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/01/2026, 05:23:53 UTC
Last updated: 07/01/2026, 21:39:18 UTC
Views: 6
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.