CVE-2026-13458: GenerateBlocks Stored XSS via Dynamic Tag Injection in HTML Attributes

CVE-2026-13458 · Severity: medium · CVSS 6.4 · Published 2026-08-01

GenerateBlocks, a popular layout and design plugin for WordPress, contains a security flaw that allows users with basic editing permissions (Contributor level and above) to inject malicious scripts into website pages. By exploiting how the plugin handles dynamic data tags, an attacker can cause these scripts to run in the browsers of other visitors or administrators. This could lead to unauthorized actions being performed on behalf of other users or the theft of sensitive session information.

Quick answers

Is CVE-2026-13458 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-13458 being exploited in the wild.
How severe is CVE-2026-13458?
Medium severity, with a CVSS score of 6.4, published 1 August 2026.
Which products and versions are affected?
edge22 GenerateBlocks up to, and including, 2.3.0.
Is there a fix for CVE-2026-13458?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-13458 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-13458?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The GenerateBlocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping in its dynamic tag system. Authenticated attackers with Contributor-level permissions or higher can inject arbitrary web scripts by placing a dynamic tag, such as {{post_meta key:...}}, into non-URL HTML attributes like 'title', 'aria-label', or 'alt' within a GenerateBlocks element. By then setting the corresponding unprotected post meta key via the Custom Fields metabox to a value containing a closing quote and an event-handler attribute (e.g., 'onmouseover'), the attacker can execute JavaScript when a user interacts with or views the affected page. This vulnerability affects all versions up to and including 2.3.0.

Affected products

  • edge22 GenerateBlocks up to, and including, 2.3.0

Timeline

  • 2026-08-01: disclosed
  • 2026-08-01: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.