CVE-2026-13458
Received Received - Intake

Stored XSS in GenerateBlocks WordPress Plugin

Vulnerability report for CVE-2026-13458, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-01

Last updated on: 2026-08-01

Assigner: Wordfence

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-01
Last Modified
2026-08-01
Generated
2026-08-01
AI Q&A
2026-08-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
generateblocks generateblocks to 2.3.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The GenerateBlocks WordPress plugin has a stored cross-site scripting (XSS) vulnerability due to insufficient input sanitization and output escaping. This allows authenticated attackers with contributor-level access or higher to inject malicious scripts into pages via dynamic tags in HTML attributes like title or alt. The attacker sets a malicious payload in a post meta key, which executes when users access the affected page.

Detection Guidance

Check WordPress sites using GenerateBlocks plugin versions up to 2.3.0. Inspect HTML attributes like title, aria-label, alt, or data-* for dynamic tags such as {{post_meta key:...}}. Review post meta values for malicious payloads containing event-handler attributes.

Impact Analysis

This vulnerability allows attackers to inject malicious scripts into your WordPress site. If exploited, it could lead to unauthorized actions on behalf of users, data theft, or defacement of your website. Users visiting infected pages may have their sessions compromised or be redirected to malicious sites.

Compliance Impact

This vulnerability could lead to data breaches, exposing user data and violating privacy regulations like GDPR or HIPAA. If exploited, it may result in unauthorized access to sensitive information, triggering compliance violations and potential legal penalties.

Mitigation Strategies

Update GenerateBlocks plugin to the latest version. Remove untrusted dynamic tags from HTML attributes. Sanitize post meta values to prevent script injection. Restrict contributor-level access to trusted users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13458. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart