Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-5819: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in britner Gutenberg Blocks with AI by Kadence WP – Page Builder Features

0
Medium
VulnerabilityCVE-2024-5819cvecve-2024-5819cwe-79
Published: Sat Jun 29 2024 (06/29/2024, 09:46:42 UTC)
Source: CVE Database V5
Vendor/Project: britner
Product: Gutenberg Blocks with AI by Kadence WP – Page Builder Features

Description

CVE-2024-5819 is a medium-severity DOM-based stored Cross-Site Scripting (XSS) vulnerability in the Gutenberg Blocks with AI by Kadence WP – Page Builder Features WordPress plugin. It affects all versions up to and including 3. 2. 45. Authenticated users with contributor-level access or higher can inject malicious scripts via HTML data attributes due to insufficient input sanitization and output escaping. These scripts execute when any user views the compromised page, potentially leading to session hijacking or unauthorized actions. Exploitation does not require user interaction beyond page access. No known exploits are currently reported in the wild. The vulnerability impacts confidentiality and integrity but not availability. Organizations using this plugin should prioritize patching or apply strict user role management and content sanitization controls to mitigate risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:50:32 UTC

Technical Analysis

CVE-2024-5819 is a DOM-based stored Cross-Site Scripting (XSS) vulnerability identified in the Gutenberg Blocks with AI by Kadence WP – Page Builder Features plugin for WordPress. This vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and escaping of user-supplied HTML data attributes. The flaw affects all plugin versions up to 3.2.45. An attacker with authenticated contributor-level access or higher can inject arbitrary JavaScript code into page content via these HTML data attributes. Because the malicious script is stored in the page content, it executes in the context of any user who views the infected page, potentially allowing session hijacking, privilege escalation, or unauthorized actions within the WordPress site. The vulnerability does not require user interaction beyond page access and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The scope is considered changed (S:C) because the vulnerability affects resources beyond the attacker’s privileges. No patches or exploit code are currently publicly available, but the risk remains significant for sites using this plugin with contributor-level users. The root cause is a failure to properly sanitize and escape HTML data attributes before rendering them in the DOM, enabling malicious script injection.

Potential Impact

The primary impact of CVE-2024-5819 is on the confidentiality and integrity of affected WordPress sites using the vulnerable plugin. Attackers with contributor-level access can inject persistent malicious scripts that execute in the browsers of site visitors and administrators. This can lead to session hijacking, theft of sensitive information, unauthorized content modifications, or execution of administrative actions if higher-privileged users view the infected pages. Although availability is not directly impacted, the trustworthiness and security posture of the affected site can be severely compromised. Organizations with multiple contributors or editors are at higher risk, as these roles can be leveraged to exploit the vulnerability. The widespread use of WordPress and the popularity of Kadence WP plugins mean that many websites globally could be affected, especially those that do not restrict contributor privileges or lack additional input validation controls. The vulnerability could be leveraged in targeted attacks against organizations relying on this plugin for page building and AI content features.

Mitigation Recommendations

To mitigate CVE-2024-5819, organizations should first update the Gutenberg Blocks with AI by Kadence WP – Page Builder Features plugin to a patched version once it becomes available. Until a patch is released, restrict contributor-level and higher user roles to trusted individuals only, minimizing the risk of malicious script injection. Implement additional input validation and sanitization on user-generated content, especially for HTML data attributes, using security-focused WordPress plugins or custom code. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. Regularly audit user roles and permissions to ensure least privilege principles are enforced. Monitor site content for unexpected script injections or anomalies. Consider disabling or limiting the use of vulnerable blocks or features within the plugin if feasible. Finally, educate content contributors about safe content practices and the risks of injecting untrusted code.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-06-10T20:25:48.066Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bf3b7ef31ef0b55cfa4

Added to database: 2/25/2026, 9:38:59 PM

Last enriched: 2/26/2026, 2:50:32 AM

Last updated: 2/26/2026, 8:08:47 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats