GenerateBlocks <= 2.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Headline Block 'linkMetaFieldType' Dynamic Link Attribute

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-9756
CVSS 6.4 (Medium)
Publicly Published July 2, 2026
Last Updated July 3, 2026
Researcher alex_henry20

Description

The GenerateBlocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Headline Block 'linkMetaFieldType' Dynamic Link Attribute in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A contributor-level attacker can store a JavaScript payload in their own profile description (allowlisted by get_safe_user_meta_keys()) and prepend 'javascript:' via the linkMetaFieldType attribute, creating a fully attacker-controlled href that executes when any user, including an administrator, clicks the rendered headline link.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for GenerateBlocks

Software Type Plugin
Software Slug generateblocks (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.3.0, or a newer patched version
Affected Version
  • <= 2.2.1
Patched Version
  • 2.3.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.1.0 - Authenticated (Contributor+) Information Disclosure CVE-2026-48877 4.3 Abu Hurayra (HurayraIIT) May 27, 2026
3 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
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