CVE-2026-13458: GenerateBlocks <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Tag Injection in HTML Attributes
The GenerateBlocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Dynamic Tag Injection in HTML Attributes in all versions up to, and including, 2.3.0 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 the malicious payload by placing a dynamic tag such as {{postmeta key:...}} in a non-URL HTML attribute (e.g., title, aria-label, alt, or data- attributes) of a GenerateBlocks element block, then setting the corresponding unprotected post meta key via the Custom Fields metabox to a value containing a closing quote and an injected event-handler attribute.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GenerateBlocks plugin (WordPress)to a version that resolves this vulnerability.Fixed in 2.3.0 - Compensating control
Restrict access to the WordPress Custom Fields metabox (reduce contributor-level ability to set post meta used by GenerateBlocks dynamic tags) to mitigate authenticated Stored XSS risk until patched.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-13458?
CVE-2026-13458 has a medium severity score of 6.4.
How do I fix CVE-2026-13458?
To fix CVE-2026-13458, update the GenerateBlocks plugin to version 2.3.1 or later.
What types of attacks are possible due to CVE-2026-13458?
CVE-2026-13458 allows authenticated contributors to perform stored cross-site scripting attacks via dynamic tag injection.
Which versions of GenerateBlocks are affected by CVE-2026-13458?
CVE-2026-13458 affects all versions of the GenerateBlocks plugin up to and including 2.3.0.
Who is primarily at risk from CVE-2026-13458?
Authenticated users with contributor permissions are primarily at risk from CVE-2026-13458 due to the nature of the vulnerability.