CVE-2024-4107: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in https://elementor.com/ Elementor Website Builder Pro
CVE-2024-4107 is a stored cross-site scripting (XSS) vulnerability in Elementor Website Builder Pro for WordPress, affecting all versions up to 3. 21. 0. Authenticated users with contributor-level permissions or higher can inject malicious scripts via insufficiently sanitized input parameters. These scripts execute when any user accesses 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 authentication with low privileges. No known exploits are currently reported in the wild. Organizations using Elementor Pro should prioritize patching or mitigating this issue to prevent exploitation that could compromise website integrity and user data.
AI Analysis
Technical Summary
CVE-2024-4107 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Elementor Website Builder Pro plugin for WordPress, affecting all versions up to and including 3.21.0. The root cause is insufficient input sanitization and output escaping on several parameters used during web page generation. This flaw allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes every time a user visits the infected page, potentially compromising the confidentiality and integrity of user sessions and data. The vulnerability does not require user interaction beyond visiting the compromised page, and the attacker needs only low-level authenticated access, which is common in multi-user WordPress environments. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to websites using Elementor Pro, especially those with multiple contributors. The vulnerability is notable because Elementor is a widely used WordPress page builder, making many websites potentially vulnerable. The lack of a patch link suggests a fix may be pending or recently released, so immediate mitigation is critical.
Potential Impact
The primary impact of CVE-2024-4107 is the compromise of website integrity and user trust. Attackers can inject malicious scripts that execute in the context of the website, leading to session hijacking, theft of sensitive user information, defacement, or redirection to malicious sites. For organizations, this can result in reputational damage, loss of customer trust, and potential regulatory consequences if user data is exposed. Since the vulnerability requires only contributor-level access, attackers can exploit compromised or malicious user accounts, which are common in collaborative environments. The scope includes any WordPress site using Elementor Pro up to version 3.21.0, which is a significant portion of websites globally. The vulnerability does not affect availability directly but can indirectly cause service disruption through defacement or user lockout. The medium severity score reflects the balance between ease of exploitation and impact, but the widespread use of Elementor increases the overall risk to organizations worldwide.
Mitigation Recommendations
Organizations should immediately verify the Elementor Pro version in use and upgrade to a patched version once available. Until a patch is released, restrict contributor-level permissions to trusted users only and audit existing user roles to minimize risk. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting Elementor parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected pages. Regularly scan websites for injected scripts or unusual content changes. Educate content contributors about the risks of uploading or embedding untrusted content. Monitor logs for suspicious activity related to page edits or user actions. Consider temporarily disabling the Elementor Pro plugin if the risk is unacceptable and no patch is available. Finally, maintain a robust incident response plan to quickly address any detected exploitation.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2024-4107: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in https://elementor.com/ Elementor Website Builder Pro
Description
CVE-2024-4107 is a stored cross-site scripting (XSS) vulnerability in Elementor Website Builder Pro for WordPress, affecting all versions up to 3. 21. 0. Authenticated users with contributor-level permissions or higher can inject malicious scripts via insufficiently sanitized input parameters. These scripts execute when any user accesses 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 authentication with low privileges. No known exploits are currently reported in the wild. Organizations using Elementor Pro should prioritize patching or mitigating this issue to prevent exploitation that could compromise website integrity and user data.
AI-Powered Analysis
Technical Analysis
CVE-2024-4107 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Elementor Website Builder Pro plugin for WordPress, affecting all versions up to and including 3.21.0. The root cause is insufficient input sanitization and output escaping on several parameters used during web page generation. This flaw allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes every time a user visits the infected page, potentially compromising the confidentiality and integrity of user sessions and data. The vulnerability does not require user interaction beyond visiting the compromised page, and the attacker needs only low-level authenticated access, which is common in multi-user WordPress environments. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required, no user interaction, and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to websites using Elementor Pro, especially those with multiple contributors. The vulnerability is notable because Elementor is a widely used WordPress page builder, making many websites potentially vulnerable. The lack of a patch link suggests a fix may be pending or recently released, so immediate mitigation is critical.
Potential Impact
The primary impact of CVE-2024-4107 is the compromise of website integrity and user trust. Attackers can inject malicious scripts that execute in the context of the website, leading to session hijacking, theft of sensitive user information, defacement, or redirection to malicious sites. For organizations, this can result in reputational damage, loss of customer trust, and potential regulatory consequences if user data is exposed. Since the vulnerability requires only contributor-level access, attackers can exploit compromised or malicious user accounts, which are common in collaborative environments. The scope includes any WordPress site using Elementor Pro up to version 3.21.0, which is a significant portion of websites globally. The vulnerability does not affect availability directly but can indirectly cause service disruption through defacement or user lockout. The medium severity score reflects the balance between ease of exploitation and impact, but the widespread use of Elementor increases the overall risk to organizations worldwide.
Mitigation Recommendations
Organizations should immediately verify the Elementor Pro version in use and upgrade to a patched version once available. Until a patch is released, restrict contributor-level permissions to trusted users only and audit existing user roles to minimize risk. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting Elementor parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected pages. Regularly scan websites for injected scripts or unusual content changes. Educate content contributors about the risks of uploading or embedding untrusted content. Monitor logs for suspicious activity related to page edits or user actions. Consider temporarily disabling the Elementor Pro plugin if the risk is unacceptable and no patch is available. Finally, maintain a robust incident response plan to quickly address any detected exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-24T00:24:25.122Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b82b7ef31ef0b5561ac
Added to database: 2/25/2026, 9:37:06 PM
Last enriched: 2/26/2026, 12:28:43 AM
Last updated: 2/26/2026, 8:08:52 AM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.