---
id: CVE-2025-11879
title: >-
  The GenerateBlocks plugin for WordPress is vulnerable to unauthorized access
  of data due to a missing capability check on the 'get_option_rest' function in
  all versions up to, and including, 2.1.1
summary: >-
  The GenerateBlocks plugin for WordPress is vulnerable to unauthorized access
  of data due to a missing capability check on the 'get_option_rest' function in
  all versions up to, and including, 2.1.1. This makes it possible for
  authenticate…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-285
published: '2025-10-25'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11879'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler.php#L19
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler.php#L356
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler.php#L78
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/5f1ba1c7-de88-4070-a4ec-fbe4a0c30920?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00295
epssPercentile: 0.20274
ingestedAt: '2026-10-08T11:31:27.580Z'
---

## Overview

The GenerateBlocks plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the 'get_option_rest' function in all versions up to, and including, 2.1.1. This makes it possible for authenticated attackers, with contributor level access and above, to read arbitrary WordPress options, including sensitive information such as SMTP credentials, API keys, and other data stored by other plugins.

## Remediation

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