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

0
Medium
VulnerabilityCVE-2024-5341cvecve-2024-5341cwe-79
Published: Thu May 30 2024 (05/30/2024, 05:33:15 UTC)
Source: CVE Database V5
Product: The Plus Addons for Elementor Page Builder

Description

CVE-2024-5341 is a stored cross-site scripting (XSS) vulnerability in The Plus Addons for Elementor Page Builder WordPress plugin, affecting all versions up to 5. 5. 4. The flaw arises from improper input sanitization and output escaping of the 'size' attribute in the Heading Title widget, allowing authenticated users with contributor-level access or higher 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, indicating medium severity, with no known exploits in the wild currently. Mitigation requires updating the plugin once a patch is available or restricting contributor privileges and monitoring content inputs. Organizations using this plugin should prioritize remediation to prevent exploitation, especially those with multiple contributors or public-facing sites. Countries with significant WordPress usage and large web publishing sectors are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:33:29 UTC

Technical Analysis

CVE-2024-5341 is a stored cross-site scripting vulnerability identified in The Plus Addons for Elementor Page Builder plugin for WordPress, affecting all versions up to and including 5.5.4. The vulnerability stems from improper neutralization of user-supplied input in the 'size' attribute of the Heading Title widget. Specifically, the plugin fails to adequately sanitize and escape this attribute, allowing authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially compromising user sessions, stealing credentials, or performing unauthorized actions within the context of the affected site. The vulnerability requires no user interaction beyond viewing the infected page and does not require higher privileges than contributor access, which is commonly granted to content editors. The CVSS 3.1 base score of 6.4 reflects a medium severity rating, with attack vector being network-based, low attack complexity, and privileges required being low. The scope is changed because the vulnerability affects other users beyond the attacker. No known public exploits have been reported yet, but the risk remains significant due to the widespread use of the plugin and WordPress platform. The vulnerability highlights the importance of proper input validation and output encoding in web applications, especially in plugins that allow user-generated content. Until a patch is released, administrators should consider restricting contributor permissions or monitoring inputs to mitigate risk.

Potential Impact

The impact of CVE-2024-5341 is primarily on the confidentiality and integrity of affected WordPress sites and their users. Successful exploitation allows an attacker with contributor-level access to inject persistent malicious scripts that execute in the browsers of any user visiting the compromised pages. This can lead to session hijacking, theft of authentication tokens, defacement of website content, or redirection to malicious sites. For organizations, this can result in reputational damage, loss of user trust, and potential data breaches. Since contributor-level access is relatively low privilege, many organizations with multiple content editors are at risk. The vulnerability does not directly affect availability but can indirectly cause service disruption if exploited for defacement or malware distribution. The scope of the attack extends beyond the attacker’s own account, affecting all visitors to the infected pages. Given the popularity of Elementor and its addons, many websites globally could be impacted, especially those that allow multiple contributors and have not yet updated or mitigated the vulnerability.

Mitigation Recommendations

1. Apply patches or updates from The Plus Addons for Elementor Page Builder plugin as soon as they become available to address the input sanitization and output escaping issues. 2. Until a patch is released, restrict contributor-level permissions to trusted users only, minimizing the risk of malicious script injection. 3. Implement a web application firewall (WAF) with rules to detect and block common XSS payloads targeting the 'size' attribute or similar vectors in Elementor widgets. 4. Conduct regular security audits and code reviews of user-generated content inputs, especially in plugins that allow rich content editing. 5. Enable Content Security Policy (CSP) headers to reduce the impact of XSS by restricting script execution sources. 6. Educate content contributors about safe content practices and the risks of injecting untrusted code. 7. Monitor website logs and user activity for unusual behavior that may indicate exploitation attempts. 8. Consider disabling or limiting the use of the vulnerable Heading Title widget if feasible until a fix is applied.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-24T18:58:24.313Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6be5b7ef31ef0b55be39

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

Last enriched: 2/26/2026, 2:33:29 AM

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