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

0
Medium
VulnerabilityCVE-2024-5088cvecve-2024-5088cwe-79
Published: Sat May 18 2024 (05/18/2024, 11:35:59 UTC)
Source: CVE Database V5
Vendor/Project: thehappymonster
Product: Happy Addons for Elementor

Description

CVE-2024-5088 is a stored cross-site scripting (XSS) vulnerability in the Happy Addons for Elementor WordPress plugin, affecting all versions up to 3. 10. 8. Authenticated users with Contributor-level access or higher can exploit insufficient input sanitization of the '_id' parameter to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or further attacks. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. This threat primarily affects WordPress sites globally, especially in countries with high WordPress usage and significant web presence.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:23:51 UTC

Technical Analysis

CVE-2024-5088 is a stored cross-site scripting (XSS) vulnerability identified in the Happy Addons for Elementor plugin for WordPress, a popular plugin that extends Elementor page builder functionality. The vulnerability arises from improper neutralization of input during web page generation, specifically through the '_id' parameter, which is insufficiently sanitized and escaped before being rendered. This flaw allows authenticated attackers with Contributor-level access or higher to inject arbitrary JavaScript code into pages managed by the plugin. Because the malicious script is stored persistently, it executes in the context of any user who views the infected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users without their consent. The vulnerability affects all versions up to and including 3.10.8. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No public exploits have been reported yet, but the vulnerability is publicly disclosed and should be considered exploitable. The root cause is inadequate input validation and output encoding in the plugin's handling of the '_id' parameter, a common issue categorized under CWE-79. This vulnerability highlights the risks of allowing lower-privileged users to submit content that is rendered without proper sanitization in WordPress environments.

Potential Impact

The impact of CVE-2024-5088 is significant for organizations using the Happy Addons for Elementor plugin on WordPress sites. Exploitation allows attackers with Contributor or higher privileges to inject persistent malicious scripts, which execute in the browsers of any users visiting the compromised pages. This can lead to session hijacking, unauthorized actions on behalf of users, data theft, defacement, or distribution of malware. Since Contributor-level access is often granted to content creators or editors, the risk of insider threats or compromised accounts increases. The vulnerability affects confidentiality and integrity but does not directly impact availability. However, successful exploitation can undermine user trust and lead to reputational damage, regulatory penalties, and potential downstream attacks. Given WordPress's widespread use globally, many organizations, including businesses, media outlets, and government sites, could be affected. The lack of known exploits in the wild currently reduces immediate risk but does not eliminate the threat, especially as the vulnerability is publicly disclosed and can be weaponized by attackers.

Mitigation Recommendations

To mitigate CVE-2024-5088, organizations should take the following specific actions: 1) Immediately update the Happy Addons for Elementor plugin to a patched version once available; monitor vendor announcements for patches. 2) Restrict Contributor-level and higher privileges to trusted users only, minimizing the risk of malicious content injection. 3) Implement strict input validation and output encoding controls at the application or web server level, including Content Security Policy (CSP) headers to limit script execution. 4) Deploy a Web Application Firewall (WAF) with rules to detect and block suspicious payloads targeting the '_id' parameter or typical XSS patterns. 5) Conduct regular security audits and code reviews of plugins and custom code to identify similar vulnerabilities. 6) Monitor logs and user activity for unusual behavior indicative of exploitation attempts, such as unexpected script insertions or privilege escalations. 7) Educate content contributors about safe practices and the risks of injecting untrusted content. 8) Consider disabling or replacing the vulnerable plugin if timely patching is not feasible. These measures collectively reduce the attack surface and limit the potential for successful exploitation.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-17T23:25:02.523Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bdeb7ef31ef0b55b970

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

Last enriched: 2/26/2026, 2:23:51 AM

Last updated: 2/26/2026, 11:20:08 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