CVE-2024-4057
Published: 04 June 2024
Summary
CVE-2024-4057 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Kadencewp Gutenberg Blocks With Ai. Its CVSS base score is 6.1 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Compromise (T1189); ranked at the 48.0th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-32622
Vulnerability details
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…
more
contributor role and above to perform Stored Cross-Site Scripting attacks
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Stored XSS enables injection of malicious JS into public posts, leading to drive-by compromise (T1189), client-side code execution via web app vuln (T1203), and theft of web session cookies (T1539) or browser credentials (T1555.003) when users view affected content.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.