CVE-2026-1242
MEDIUM
4.3
CVSS 3.1
Description
The BlockSpare plugin for WordPress is vulnerable to authorization bypass due to incorrect logic in the permission callback in all versions up to, and including, 4.2.6 due to the use of an AND (&&) operator instead of an OR (||) operator. This makes it possible for authenticated attackers, with Subscriber-level access and above, to bypass authorization checks and create arbitrary posts.
Affected WordPress components
-
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites Plugin · blockspareUp to and including 4.2.6View on WordPress.org
-
blockspare Theme · blockspareUp to and including 4.2.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- blockspare BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites — Up to and including 4.2.6
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/blockspare/tags/3.3.0/inc/layout/save-templates.php#L9
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/2e1bbaa2-5bb3-442e-b4a8-96db98500e7b?source=cve
- nvd.nist.gov Official NVD record