CVE-2026-13458: GenerateBlocks <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Tag Injection in HTML Attributes

Published Aug 1, 2026
·
Updated

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

1 affected component
WordPress GenerateBlocks<=2.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GenerateBlocks plugin (WordPress) to a version that resolves this vulnerability.

    Fixed in 2.3.0
  2. 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

Aug 1, 2026
CVE Published
via MITRE·07:49 AM
Data Sourced
via MITRE·07:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-13458?

CVE-2026-13458 has a medium severity score of 6.4.

2

How do I fix CVE-2026-13458?

To fix CVE-2026-13458, update the GenerateBlocks plugin to version 2.3.1 or later.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203