CVE-2026-9756
Received Received - Intake

Stored XSS in GenerateBlocks WordPress Plugin

Vulnerability report for CVE-2026-9756, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-03

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-03
Generated
2026-07-03
AI Q&A
2026-07-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
generateblocks generateblocks to 2.2.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The GenerateBlocks plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its Headline Block's 'linkMetaFieldType' Dynamic Link Attribute. This vulnerability exists in all versions up to and including 2.2.1 due to insufficient input sanitization and output escaping.

An authenticated attacker with contributor-level access or higher can inject arbitrary JavaScript code into pages by storing a malicious payload in their profile description and manipulating the linkMetaFieldType attribute to prepend 'javascript:'. This creates a malicious link that executes the attacker's script when any user, including administrators, clicks on the headline link.

Impact Analysis

This vulnerability allows an attacker with contributor-level access to execute arbitrary JavaScript in the context of the affected website. This can lead to unauthorized actions such as stealing user credentials, hijacking user sessions, defacing the website, or performing actions on behalf of other users, including administrators.

Because the malicious script executes when any user clicks the injected headline link, it can compromise the security and integrity of the website and its users.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9756. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart