GenerateBlocks <= 2.2.0 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Exposure via Dynamic Tag Replacements

6.5
Authorization Bypass Through User-Controlled Key
CVE CVE-2026-3454
CVSS 6.5 (Medium)
Publicly Published May 4, 2026
Last Updated May 5, 2026
Researcher kai63001

Description

The GenerateBlocks plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.2.0. This is due to missing object-level authorization checks in the /wp-json/generateblocks/v1/dynamic-tag-replacements REST endpoint. The endpoint only verifies that the user has the edit_posts capability but does not verify the user has permission to access the specific post or its associated data referenced by attacker-controlled id parameters in dynamic tag content. This makes it possible for authenticated attackers, with Contributor-level access and above, to extract sensitive information from arbitrary posts including author email addresses and non-protected post meta values by crafting dynamic tag payloads such as {{post_meta id:<target>|key:<meta_key>}} and {{post_title id:<target>|link:author_email}}.

References

Share

Vulnerability Details for GenerateBlocks

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

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.1.2 - Authenticated (Contributor+) Information Exposure via Metadata CVE-2025-12512 4.3 Athiwat Tiprasaharn (Jitlada) December 12, 2025
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