GenerateBlocks <= 2.1.2 - Authenticated (Contributor+) Information Exposure via Metadata

4.3
Exposure of Sensitive Information to an Unauthorized Actor
CVE CVE-2025-12512
CVSS 4.3 (Medium)
Publicly Published December 12, 2025
Last Updated December 13, 2025
Researcher Athiwat Tiprasaharn (Jitlada)

Description

The GenerateBlocks plugin for WordPress is vulnerable to information exposure due to missing object-level authorization checks in versions up to, and including, 2.1.2. This is due to the plugin registering multiple REST API routes under `generateblocks/v1/meta/` that gate access with `current_user_can('edit_posts')`, which is granted to low-privileged roles such as Contributor. The handlers accept arbitrary entity IDs (user IDs, post IDs, etc.) and meta keys, returning any requested metadata with only a short blacklist of password-like keys for protection. There is no object-level authorization ensuring the caller is requesting only their own data, and there is no allowlist of safe keys. This makes it possible for authenticated attackers, with Contributor-level access and above, to exfiltrate personally identifiable information (PII) and other sensitive profile data of administrator accounts or any other users by directly querying user meta keys via the exposed endpoints via the `get_user_meta_rest` function. In typical WordPress + WooCommerce setups, this includes names, email, phone, and address fields that WooCommerce stores in user meta, enabling targeted phishing, account takeover pretexting, and privacy breaches.

References

Share

Vulnerability Details for GenerateBlocks

Software Type Plugin
Software Slug generateblocks (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.2.0, or a newer patched version
Affected Version
  • <= 2.1.2
Patched Version
  • 2.2.0

Recent vulnerabilities in GenerateBlocks

# Title CVE ID CVSS Researchers Date
1 GenerateBlocks <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Tag Injection in HTML Attributes CVE-2026-13458 6.4 Or Benit July 31, 2026
2 GenerateBlocks <= 2.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Headline Block 'linkMetaFieldType' Dynamic Link Attribute CVE-2026-9756 6.4 alex_henry20 July 2, 2026
3 GenerateBlocks <= 2.1.0 - Authenticated (Contributor+) Information Disclosure CVE-2026-48877 4.3 Abu Hurayra (HurayraIIT) May 27, 2026
4 GenerateBlocks <= 2.2.0 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Exposure via Dynamic Tag Replacements CVE-2026-3454 6.5 kai63001 May 4, 2026
5 GenerateBlocks <= 2.1.1 - Improper Authorization to Authenticated (Contributor+) Arbitrary Options Disclosure CVE-2025-11879 6.5 Lucas Montes (NiRoX) October 24, 2025
6 GenerateBlocks <= 1.9.1 - Authenticated (Contributor+) Sensitive Information Exposure via 'get_image_description' CVE-2024-13546 4.3 Nishiv February 28, 2025
7 GenerateBlocks <= 1.8.2 - Sensitive Information Exposure CVE-2024-1452 4.3 Webbernaut March 1, 2024
8 GenerateBlocks <= 1.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2021-24751 6.4 apple502j November 1, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation