CVE-2024-4057 Gutenberg Blocks by Kadence Blocks < 3.2.37 - Contributor+ Stored XSS
Contributors can inject malicious scripts via block attributes, leading to stored XSS attacks on WordPress sites using this plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-4057?
CVE-2024-4057 is a medium-severity cross-site scripting vulnerability in Unknown Gutenberg Blocks with AI by Kadence WP , published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Gutenberg Blocks with AI by Kadence WP WordPress plugin before 3.2.37 does not validate and escape some of its block attributes before outputting them back in a page/post where the block is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks
Weakness: CWE-79
Which versions are affected by CVE-2024-4057?
It affects 1 product.
Products include Kadencewp Gutenberg Blocks With Ai.
How do I fix CVE-2024-4057?
No fix has been published for CVE-2024-4057 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-4057 being exploited?
There is no known exploitation of CVE-2024-4057 in the wild and no public exploit code.
Other vulnerabilities in Unknown Gutenberg Blocks with AI by Kadence WP
- 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-12304 Cross-site scripting in Kadence Blocks — Page Builder Toolkit for Gutenberg Editor
Sources
Also known as GHSA-j32x-p3fr-rqvr.