Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor-level WordPress account
-
DeliveryStore javascript: URI payload in profile description meta field
-
ExploitCreate post with Headline Block referencing own meta via linkMetaFieldType
-
InstallPublish or share injected page
-
C2Victim (including admin) clicks rendered headline link
-
ExecuteAttacker JavaScript executes in victim browser session
-
ImpactExfiltrate session token or perform privileged admin action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires contributor-level (or higher) authenticated access to the WordPress site - confirmed by CVSS PR:L. The attacker must have permission to create or edit posts/pages that use the GenerateBlocks Headline Block and must configure the |
| Impact | The provided CVSS 3.1 score of 6.4 with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N captures several key risk dimensions accurately but contains a notable inconsistency: the description explicitly states exploitation occurs 'when any user clicks the rendered headline link,' which is user-interactive behavior (UI:R), not UI:N. Correcting for UI:R reduces the base score to approximately 5.4. The scope change (S:C) is well-founded - a contributor executing JavaScript in an administrator's session can trigger privileged AJAX actions, potentially achieving full site compromise despite the Limited C/I impact ratings. No EPSS data was provided, and no CISA KEV listing exists, so active exploitation cannot be confirmed. Realistic risk is moderate-to-high for multi-author WordPress deployments (guest bloggers, client-managed sites) where contributor roles are granted to partially trusted or external users, and low for sites where contributor access is restricted to internal staff. |
| Exploit ScenarioDerived | A threat actor with contributor-level access stores a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Stored XSS in the GenerateBlocks WordPress plugin (all versions through 2.2.1) allows contributor-level authenticated attackers to inject arbitrary JavaScript via the Headline Block's linkMetaFieldType dynamic link attribute, executing in the browser of any user - including site administrators - who clicks the injected headline link. The attack chains a get_safe_user_meta_keys() allowlist bypass with insufficient URI scheme validation to construct a fully attacker-controlled javascript: href. No CISA KEV listing exists at time of analysis, but Wordfence reporting and direct source code references lower the barrier to independent exploitation.
RemediationAI
Update GenerateBlocks to a version above 2.2.1 by installing the patched release via the WordPress plugin repository; the upstream fix is referenced at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3582036%40generateblocks&new=3582036%40generateblocks. No exact patched release version number is confirmed in the available data - verify the current release in the WordPress admin dashboard or at wordpress.org/plugins/generateblocks before updating. As a compensating control prior to patching, restrict contributor-level role assignments exclusively to fully trusted users, eliminating the PR:L attack surface entirely; note this may impact multi-author publishing workflows. If the GenerateBlocks Headline Block's dynamic link feature (linkMetaFieldType) is not required operationally, disabling it via plugin settings or a capability filter reduces exposure without a full plugin removal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GenerateBlocks (CPE: cpe:2.3:a:edge22:generateblocks) is a WordPress Gutenberg page-builder plugin. The Headline Block supports dynamic link resolution via the linkMetaFieldType attribute, which fetches URLs from WordPress user meta fields at render time. The vulnerability originates across three files: class-headline.php (L809) constructs the href without URI scheme validation, class-dynamic-content.php (L816) resolves the meta field value without sanitization, and class-dynamic-tag-security.php (L582) implements get_safe_user_meta_keys() which allowlists certain profile meta fields - including the contributor's own profile description - as safe input sources. The root cause (CWE-79) is the absence of esc_url() or equivalent scheme-aware escaping on the resolved meta value before it is emitted as an href, allowing javascript: URIs to pass through unmodified and execute in victim browsers.
Know when Generateblocks gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Description requires victim to click the headline link (UI:R not UI:N); scope change retained as contributor payload executes in admin session; C:L/I:L reflect limited but real cross-user impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Generateblocks
View allThe GenerateBlocks WordPress plugin before 1.4.0 does not validate the generateblocks/container block's tagName attribut
GenerateBlocks plugin for WordPress up to version 2.2.0 fails to verify object-level authorization on the /wp-json/gener
Stored cross-site scripting in the GenerateBlocks WordPress plugin (versions through 2.5.0) lets an authenticated low-pr
Stored Cross-Site Scripting in the GenerateBlocks WordPress plugin (all versions through 2.3.0) allows authenticated con
The GenerateBlocks plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and inclu
EUVD-2026-41522
GHSA-735g-4w2p-c7c6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB