CVE-2025-11879

GenerateBlocks <= 2.1.1 - Improper Authorization to Authenticated (Contributor+) Arbitrary Options Disclosure

2025-10-24 00:00
Lucas Montes (NiRoX)

Strategic Overview

Status
Patched in 2.1.2
Affected Plugin
GenerateBlocks
Affected Version
<= 2.1.1
CVSS
6.5Medium
Weakness type
CWE-285 · Improper Authorization
CVE
CVE-2025-11879
View all GenerateBlocks vulnerabilities

At a glance

CVE-2025-11879 is a medium-severity Improper Authorization vulnerability in the GenerateBlocks WordPress plugin, affecting versions <= 2.1.1. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 2.1.2; sites on affected versions should update now. Disclosed October 2025, reported by Lucas Montes (NiRoX).

Vulnerability 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.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

CWE-285: Improper Authorization

GenerateBlocks <= 2.1.1 carries this weakness at get_option_rest, and reaching it takes an account at Contributor level or above. Improper authorization means a permission check exists but does not cover the case being exercised, so a caller who is allowed to do one thing is allowed to do a neighbouring thing as well.

A lower-privileged account performs an action reserved for a higher one, which on a multi-author or membership site means an ordinary user reaching administrative behaviour. For GenerateBlocks the fix is 2.1.2: builds <= 2.1.1 are affected, anything from 2.1.2 onward is not.

Remediation

Update to version 2.1.2, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: GenerateBlocks 2.1.2 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C