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-4391: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thehappymonster Happy Addons for Elementor

0
Medium
VulnerabilityCVE-2024-4391cvecve-2024-4391cwe-79
Published: Thu May 16 2024 (05/16/2024, 08:32:50 UTC)
Source: CVE Database V5
Vendor/Project: thehappymonster
Product: Happy Addons for Elementor

Description

CVE-2024-4391 is a stored cross-site scripting (XSS) vulnerability in the Happy Addons for Elementor WordPress plugin, specifically affecting the Event Calendar widget in all versions up to 3. 10. 7. Authenticated users with contributor-level access or higher can inject malicious scripts due to insufficient input sanitization and output escaping. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or other malicious actions. The vulnerability has a CVSS score of 6. 4, indicating medium severity, and does not require user interaction to exploit. No known public exploits exist yet, but the vulnerability poses a significant risk to websites using this plugin. Organizations should prioritize updating or applying mitigations to prevent exploitation. Countries with large WordPress user bases and significant adoption of Elementor and its addons are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 00:40:43 UTC

Technical Analysis

CVE-2024-4391 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 found in the Happy Addons for Elementor plugin for WordPress, specifically within the Event Calendar widget. This vulnerability exists in all versions up to and including 3.10.7 due to improper neutralization of user-supplied input during web page generation. The root cause is insufficient input sanitization and lack of output escaping on attributes that users can control. An attacker with authenticated access at the contributor level or higher can inject arbitrary JavaScript code into pages rendered by the plugin. Because the malicious script is stored, it executes every time any user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users. The vulnerability does not require user interaction beyond visiting the infected page and has a CVSS v3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based with low attack complexity, requiring privileges but no user interaction. The scope is changed as the vulnerability affects multiple users viewing the injected content. No public exploits have been reported yet, but the vulnerability is critical for websites relying on this plugin for event calendar functionality. The plugin is widely used in WordPress environments, making the vulnerability relevant to many organizations running WordPress sites with Elementor and Happy Addons installed.

Potential Impact

The primary impact of CVE-2024-4391 is the compromise of confidentiality and integrity for users visiting affected WordPress sites. Attackers can execute arbitrary JavaScript in the context of the vulnerable site, enabling session hijacking, credential theft, defacement, or redirection to malicious sites. This can lead to unauthorized access to user accounts, data leakage, and erosion of user trust. Since the vulnerability requires contributor-level access, attackers must first gain some level of authenticated access, which may be possible through social engineering or exploiting other vulnerabilities. The stored nature of the XSS means that the malicious payload persists and affects all users viewing the infected page, increasing the potential damage. Organizations relying on the Happy Addons plugin for event management on WordPress sites face risks of reputational damage, data breaches, and potential regulatory consequences if user data is compromised. The vulnerability does not impact availability directly but can indirectly cause service disruption if sites are defaced or taken offline to remediate the issue.

Mitigation Recommendations

To mitigate CVE-2024-4391, organizations should immediately update the Happy Addons for Elementor plugin to a version where this vulnerability is patched once available. Until a patch is released, restrict contributor-level and higher access to trusted users only, minimizing the risk of malicious input injection. Implement web application firewall (WAF) rules to detect and block suspicious script injection patterns targeting the Event Calendar widget. Conduct thorough input validation and output encoding on all user-supplied data within custom code or additional plugins to reduce XSS risks. Regularly audit user roles and permissions to ensure least privilege principles are enforced. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on the website. Monitor website pages for unexpected script injections or defacements. Educate content contributors about the risks of injecting untrusted content. Finally, maintain regular backups to enable quick restoration if exploitation occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-01T15:29:19.409Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b8ab7ef31ef0b55675f

Added to database: 2/25/2026, 9:37:14 PM

Last enriched: 2/26/2026, 12:40:43 AM

Last updated: 2/26/2026, 8:06:42 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