---
id: CVE-2026-1242
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-863
vendor: blockspare
product: 'BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites'
affected:
  - gutenberg_blocks_for_news_magazine_blog_business_websites <= 4.2.6
published: '2026-09-19'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T13:33:33.387'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-1242'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/blockspare/tags/3.3.0/inc/layout/save-templates.php#L9
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2e1bbaa2-5bb3-442e-b4a8-96db98500e7b?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00177
epssPercentile: 0.0645
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-19T13:24:02.142885Z'
ingestedAt: '2026-09-19T07:59:56.111Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
