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

0
Medium
VulnerabilityCVE-2024-12852cvecve-2024-12852cwe-79
Published: Wed Jan 08 2025 (01/08/2025, 06:41:38 UTC)
Source: CVE Database V5
Vendor/Project: thehappymonster
Product: Happy Addons for Elementor

Description

CVE-2024-12852 is a stored Cross-Site Scripting (XSS) vulnerability in the Happy Addons for Elementor WordPress plugin, affecting all versions up to 3. 15. 1. The flaw arises from improper input sanitization and output escaping of the 'ha_cmc_text' parameter used in the Happy Mouse Cursor feature. Authenticated users with Contributor-level access or higher can inject malicious scripts that execute when other users view the compromised page. This vulnerability does not require user interaction but does require authentication with limited privileges. The CVSS score is 6. 4 (medium severity), reflecting the potential for confidentiality and integrity impacts without availability disruption. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent script injection and subsequent attacks such as session hijacking or privilege escalation.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:43:31 UTC

Technical Analysis

CVE-2024-12852 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Happy Addons for Elementor plugin for WordPress, specifically within the 'ha_cmc_text' parameter of the Happy Mouse Cursor feature. This vulnerability exists due to insufficient sanitization of user input and inadequate escaping of output, allowing malicious scripts to be stored persistently in the website's content. An attacker with authenticated access at the Contributor level or above can exploit this flaw by injecting arbitrary JavaScript code into pages or posts. When other users, including administrators or visitors, access the infected page, the malicious script executes in their browsers, potentially leading to session hijacking, defacement, or further exploitation of the site. The vulnerability affects all versions up to and including 3.15.1 of the plugin. The CVSS 3.1 base score of 6.4 reflects a medium severity level, with network attack vector, low attack complexity, and privileges required but no user interaction needed. The scope is changed, indicating that the vulnerability can affect resources beyond the initially compromised component. No public exploits have been reported yet, but the presence of authenticated access requirements limits immediate widespread exploitation. The vulnerability is categorized under CWE-79, which covers improper neutralization of input during web page generation, a common vector for XSS attacks. Mitigation requires applying patches or updates from the vendor once available or implementing strict input validation and output encoding controls. Additionally, monitoring for suspicious content injections and limiting Contributor privileges can reduce risk.

Potential Impact

The impact of CVE-2024-12852 is significant for organizations using the Happy Addons for Elementor plugin on WordPress sites. Successful exploitation allows attackers with Contributor-level access to inject persistent malicious scripts, which execute in the browsers of users viewing the infected pages. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. Attackers may also deface websites, redirect users to malicious domains, or conduct phishing attacks leveraging the trusted site context. The confidentiality and integrity of user data and site content are at risk, though availability is not directly affected. Since Contributor-level access is required, the threat is more relevant in environments with multiple content editors or less restrictive user management. Organizations with high-traffic WordPress sites or those hosting sensitive user data could face reputational damage, data breaches, and compliance violations if exploited. The medium CVSS score reflects these moderate but impactful risks. Without timely mitigation, attackers could leverage this vulnerability as a foothold for broader compromise within the web application ecosystem.

Mitigation Recommendations

To mitigate CVE-2024-12852, organizations should first verify if they are using the Happy Addons for Elementor plugin and identify the installed version. Since no patch links are currently provided, immediate steps include restricting Contributor-level user permissions to trusted personnel only and auditing existing content for suspicious script injections. Implementing a Web Application Firewall (WAF) with rules to detect and block XSS payloads targeting the 'ha_cmc_text' parameter can reduce risk. Site administrators should enforce strict input validation and output encoding in custom code or overrides related to this plugin. Monitoring logs for unusual content submissions and user activities can help detect exploitation attempts early. Once the vendor releases an official patch or update, promptly apply it to remediate the vulnerability. Additionally, educating content contributors about safe content practices and limiting plugin usage to essential features can minimize attack surface. Regular security assessments and plugin updates remain critical to prevent exploitation of similar vulnerabilities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-20T15:45:01.138Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e4bb7ef31ef0b59c670

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

Last enriched: 2/26/2026, 2:43:31 AM

Last updated: 2/26/2026, 7:21:26 AM

Views: 2

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