CVE-2026-12904: Kadence Blocks <= 3.7.7 - Insecure Direct Object Reference to Authenticated (Contributor+) Arbitrary Optimizer Data Deletion/Read/Modification via 'post_path' Parameter
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 OptimizeRestController's createitem(), getitem(), deleteitem(), and bulkdeleteitems() endpoints — authorization is checked via currentusercan('editpost'/'deletepost', $postid) against the user-supplied postid, while the storage layer keys analysis records on sha256($postpath) from a separately supplied, attacker-controlled postpath parameter, with no enforcement that postpath corresponds to postid. 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 postid (which passes the capability check) together with the victim post's path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/kadence-blocksto a version that resolves this vulnerability.Fixed in 3.7.7
Event History
Frequently Asked Questions
What is the severity of CVE-2026-12904?
The severity of CVE-2026-12904 is classified as medium with a score of 4.3.
How do I fix CVE-2026-12904?
To fix CVE-2026-12904, update the Kadence Blocks plugin to version 3.7.8 or later.
What type of vulnerability is CVE-2026-12904?
CVE-2026-12904 is an Insecure Direct Object Reference vulnerability.
What versions of Kadence Blocks are affected by CVE-2026-12904?
Versions of Kadence Blocks up to and including 3.7.7 are affected by CVE-2026-12904.
What impact can CVE-2026-12904 have on my website?
CVE-2026-12904 can allow authenticated users to delete, read, or modify arbitrary optimizer data on your website.