Kadence Blocks <= 3.7.7 - Insecure Direct Object Reference to Authenticated (Contributor+) Arbitrary Optimizer Data Deletion/Read/Modification via 'post_path' Parameter
Summary
| CVE | CVE-2026-12904 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-01 05:16:17 UTC |
| Updated | 2026-07-01 13:56:17 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.002930000 probability, percentile 0.210490000 (date 2026-07-04)
Problem Types: CWE-639 | CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Stellarwp | Kadence Blocks Page Builder Toolkit For Gutenberg Editor | affected 3.7.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.7.6/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/24cdd50f-742c-457c-85f7-9ccca... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/kadence-blocks/tags/3.6.7/includes/resources/Optimize... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: se1en (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-22T14:49:11.000Z | Vendor Notified |
| CNA | 2026-06-30T14:57:59.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.