CVE-2026-9756: GenerateBlocks <= 2.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Headline Block 'linkMetaFieldType' Dynamic Link Attribute
The GenerateBlocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Headline Block 'linkMetaFieldType' Dynamic Link Attribute in all versions up to, and including, 2.2.1 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 a JavaScript payload in their own profile description (allowlisted by getsafeusermetakeys()) and prepend 'javascript:' via the linkMetaFieldType attribute, creating a fully attacker-controlled href that executes when any user, including an administrator, clicks the rendered headline link.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-9756?
CVE-2026-9756 has a medium severity rating of 6.4.
What type of vulnerability is CVE-2026-9756?
CVE-2026-9756 is classified as a Stored Cross-Site Scripting (XSS) vulnerability.
Who can exploit CVE-2026-9756?
CVE-2026-9756 can be exploited by authenticated users with Contributor-level access or higher.
How do I fix CVE-2026-9756?
To fix CVE-2026-9756, update the GenerateBlocks WordPress plugin to version 2.2.2 or later.
What impact does CVE-2026-9756 have on users?
CVE-2026-9756 allows an authenticated attacker to inject malicious scripts that could be executed in the context of a user's session.