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-3889: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wproyal Royal Elementor Addons and Templates

0
Medium
VulnerabilityCVE-2024-3889cvecve-2024-3889cwe-79
Published: Tue Apr 23 2024 (04/23/2024, 05:33:33 UTC)
Source: CVE Database V5
Vendor/Project: wproyal
Product: Royal Elementor Addons and Templates

Description

CVE-2024-3889 is a stored cross-site scripting (XSS) vulnerability in the Royal Elementor Addons and Templates WordPress plugin, affecting all versions up to 1. 3. 971. The flaw exists in the Advanced Accordion widget due to improper sanitization and escaping of user-supplied input, specifically the 'accordion_title_tag' attribute. Authenticated users with contributor-level access or higher can inject malicious scripts that execute whenever a page containing the injected content is viewed. This vulnerability does not require user interaction to trigger but does require authentication with limited privileges. The CVSS score is 6. 4 (medium severity), reflecting the potential for confidentiality and integrity impact without affecting availability. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent unauthorized script execution and potential session hijacking or defacement.

AI-Powered Analysis

AILast updated: 02/26/2026, 06:29:31 UTC

Technical Analysis

CVE-2024-3889 is a stored cross-site scripting vulnerability identified in the Royal Elementor Addons and Templates plugin for WordPress, specifically within the Advanced Accordion widget. The vulnerability arises from insufficient input sanitization and output escaping of the 'accordion_title_tag' attribute, which is user-controllable. Because the plugin fails to properly neutralize this input, authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages. This malicious script is stored persistently and executes in the context of any user who views the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability affects all plugin versions up to and including 1.3.971. The attack vector requires network access and authenticated contributor-level privileges but does not require user interaction to trigger once the malicious content is published. The CVSS 3.1 base score of 6.4 reflects a medium severity, with low attack complexity and no user interaction needed, but limited to authenticated users. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date. This vulnerability falls under CWE-79, indicating improper neutralization of input during web page generation, a common cause of XSS issues in web applications.

Potential Impact

The primary impact of CVE-2024-3889 is the compromise of confidentiality and integrity within affected WordPress sites using the vulnerable plugin. An attacker with contributor-level access can inject persistent malicious scripts, which execute in the browsers of users visiting the infected pages. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, and potential defacement or redirection attacks. While availability is not directly impacted, the reputational damage and potential data breaches can be significant. For organizations relying on WordPress sites with this plugin, especially those with multiple contributors or public-facing content editors, the risk of internal threat actors or compromised contributor accounts exploiting this vulnerability is notable. The medium severity score reflects that exploitation requires authenticated access, limiting the attack surface but not eliminating risk, especially in environments with many contributors or weak access controls.

Mitigation Recommendations

To mitigate CVE-2024-3889, organizations should: 1) Immediately update the Royal Elementor Addons and Templates plugin to a patched version once available; if no patch exists, consider disabling or removing the plugin temporarily. 2) Restrict contributor-level access strictly, auditing user roles and permissions to minimize the number of users who can inject content. 3) Implement a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting the affected widget. 4) Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. 5) Conduct regular security reviews of user-generated content, especially from contributors, to detect suspicious scripts or markup. 6) Educate content contributors about safe input practices and the risks of injecting untrusted content. 7) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 8) Consider using security plugins that sanitize and validate inputs at the application level as an additional layer of defense.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-04-16T16:58:37.777Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c9fb7ef31ef0b566ee9

Added to database: 2/25/2026, 9:41:51 PM

Last enriched: 2/26/2026, 6:29:31 AM

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