CVE-2024-12304 Cross-site scripting in Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
Authenticated contributors can inject arbitrary scripts via button links, leading to stored XSS execution for other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12304?
CVE-2024-12304 is a medium-severity cross-site scripting vulnerability in stellarwp Kadence Blocks — Page Builder Toolkit for Gutenberg Editor, published on 11 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Gutenberg Blocks with AI by Kadence WP – Page Builder Features plugin for WordPress is vulnerable to Stored Cross-Site Scripting via button block link in all versions up to, and including, 3.4.2 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-12304?
It affects 1 product.
Products include Kadencewp Gutenberg Blocks With Ai.
How do I fix CVE-2024-12304?
No fix has been published for CVE-2024-12304 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-12304 being exploited?
There is no known exploitation of CVE-2024-12304 in the wild and no public exploit code.
Other vulnerabilities in stellarwp Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
- CVE-2023-6964 Server-side request forgery in Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
- CVE-2024-23500 WordPress Kadence Blocks plugin <= 3.2.19 - Server Side Request Forgery (SSRF) vulnerability
- CVE-2024-2509 Gutenberg Blocks by Kadence Blocks < 3.2.26 - Contributor+ Stored XSS
- CVE-2025-5678 Cross-site scripting in Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
- CVE-2024-10785 Cross-site scripting in Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
Sources
Also known as GHSA-rxrg-5wq3-m3vx.