CVE-2026-13458: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in edge22 GenerateBlocks
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 {{post_meta 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.
AI Analysis
Technical Summary
CVE-2026-13458 describes a stored Cross-Site Scripting vulnerability in the GenerateBlocks WordPress plugin (edge22) affecting all versions up to and including 2.3.0. The vulnerability is due to improper neutralization of input during web page generation (CWE-79). Authenticated attackers with contributor-level privileges can inject arbitrary web scripts by placing dynamic tags such as {{post_meta key:...}} in HTML attributes like title, aria-label, alt, or data-* attributes. By setting the corresponding post meta key to a value containing a closing quote and an injected event-handler attribute via the Custom Fields metabox, attackers can cause script execution when the page is viewed. The CVSS 3.1 base score is 6.4 (medium severity) with network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity but not availability.
Potential Impact
An attacker with contributor-level access or higher can inject malicious JavaScript code into pages generated by the plugin, which will execute in the context of any user viewing those pages. This can lead to unauthorized actions, data theft, or session hijacking. The vulnerability affects confidentiality and integrity but does not impact availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and avoid using dynamic tags in HTML attributes that reference untrusted post meta keys. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-13458: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in edge22 GenerateBlocks
Description
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 {{post_meta 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.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13458 describes a stored Cross-Site Scripting vulnerability in the GenerateBlocks WordPress plugin (edge22) affecting all versions up to and including 2.3.0. The vulnerability is due to improper neutralization of input during web page generation (CWE-79). Authenticated attackers with contributor-level privileges can inject arbitrary web scripts by placing dynamic tags such as {{post_meta key:...}} in HTML attributes like title, aria-label, alt, or data-* attributes. By setting the corresponding post meta key to a value containing a closing quote and an injected event-handler attribute via the Custom Fields metabox, attackers can cause script execution when the page is viewed. The CVSS 3.1 base score is 6.4 (medium severity) with network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity but not availability.
Potential Impact
An attacker with contributor-level access or higher can inject malicious JavaScript code into pages generated by the plugin, which will execute in the context of any user viewing those pages. This can lead to unauthorized actions, data theft, or session hijacking. The vulnerability affects confidentiality and integrity but does not impact availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and avoid using dynamic tags in HTML attributes that reference untrusted post meta keys. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-26T19:33:50.842Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6daf59bf32cb7a346ced1d
Added to database: 08/01/2026, 08:33:29 UTC
Last enriched: 08/01/2026, 09:07:44 UTC
Last updated: 08/01/2026, 21:26:35 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.