CVE-2024-12120: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wproyal Royal Elementor Addons and Templates
The Royal Elementor Addons and Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Countdown widget display_message_text parameter in all versions up to, and including, 1.7.1017 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-12120 is a medium-severity Stored Cross-Site Scripting (XSS) vulnerability affecting the Royal Elementor Addons and Templates WordPress plugin developed by wproyal. This vulnerability exists in all versions up to and including 1.7.1017. The flaw arises from improper input sanitization and insufficient output escaping of the 'display_message_text' parameter within the Countdown widget. An authenticated attacker with Contributor-level privileges or higher can exploit this vulnerability by injecting malicious JavaScript code into pages using the vulnerable widget. When other users visit these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability does not require user interaction beyond visiting the affected page, and the attack vector is remote over the network. The CVSS v3.1 base score is 5.4, reflecting a medium severity level, with the vector indicating network attack vector, low attack complexity, privileges required (low), no user interaction, unchanged scope, and low impact on confidentiality and integrity, with no impact on availability. No known exploits are currently reported in the wild, and no patches have been linked yet. The vulnerability is classified under CWE-79, which relates to improper neutralization of input during web page generation, a common cause of XSS vulnerabilities.
Potential Impact
For European organizations using WordPress sites with the Royal Elementor Addons and Templates plugin, this vulnerability poses a risk of client-side script injection that can compromise user sessions, steal sensitive information, or perform unauthorized actions on behalf of users. Since the exploit requires Contributor-level access, attackers may first need to compromise or register accounts with such privileges, which is feasible in environments with weak user management or insufficient access controls. The impact is particularly significant for organizations that rely on WordPress for customer-facing websites, intranets, or portals where user trust and data confidentiality are critical. Exploitation could lead to reputational damage, data breaches involving personal data protected under GDPR, and potential regulatory penalties. Additionally, the vulnerability could be leveraged as a foothold for further attacks within the network if administrative users are targeted. The absence of a patch increases the urgency for mitigation. Given the widespread use of WordPress across Europe, the threat surface is considerable, especially for sectors such as e-commerce, media, education, and government that frequently use Elementor-based themes and plugins.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Royal Elementor Addons and Templates plugin and determine the version in use. Until an official patch is released, organizations should consider the following mitigations: 1) Restrict Contributor-level and higher privileges strictly to trusted users, implementing the principle of least privilege and reviewing user roles and permissions regularly. 2) Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the 'display_message_text' parameter. 3) Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. 4) Monitor logs and user activity for signs of unauthorized content injection or anomalous behavior. 5) Consider temporarily disabling or replacing the vulnerable widget if feasible. 6) Educate site administrators and content creators about the risks of XSS and safe content practices. 7) Stay alert for official patches or updates from the vendor and apply them promptly once available. 8) Use security plugins that can sanitize inputs or outputs as an additional layer of defense.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden, Belgium, Austria
CVE-2024-12120: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wproyal Royal Elementor Addons and Templates
Description
The Royal Elementor Addons and Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Countdown widget display_message_text parameter in all versions up to, and including, 1.7.1017 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2024-12120 is a medium-severity Stored Cross-Site Scripting (XSS) vulnerability affecting the Royal Elementor Addons and Templates WordPress plugin developed by wproyal. This vulnerability exists in all versions up to and including 1.7.1017. The flaw arises from improper input sanitization and insufficient output escaping of the 'display_message_text' parameter within the Countdown widget. An authenticated attacker with Contributor-level privileges or higher can exploit this vulnerability by injecting malicious JavaScript code into pages using the vulnerable widget. When other users visit these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability does not require user interaction beyond visiting the affected page, and the attack vector is remote over the network. The CVSS v3.1 base score is 5.4, reflecting a medium severity level, with the vector indicating network attack vector, low attack complexity, privileges required (low), no user interaction, unchanged scope, and low impact on confidentiality and integrity, with no impact on availability. No known exploits are currently reported in the wild, and no patches have been linked yet. The vulnerability is classified under CWE-79, which relates to improper neutralization of input during web page generation, a common cause of XSS vulnerabilities.
Potential Impact
For European organizations using WordPress sites with the Royal Elementor Addons and Templates plugin, this vulnerability poses a risk of client-side script injection that can compromise user sessions, steal sensitive information, or perform unauthorized actions on behalf of users. Since the exploit requires Contributor-level access, attackers may first need to compromise or register accounts with such privileges, which is feasible in environments with weak user management or insufficient access controls. The impact is particularly significant for organizations that rely on WordPress for customer-facing websites, intranets, or portals where user trust and data confidentiality are critical. Exploitation could lead to reputational damage, data breaches involving personal data protected under GDPR, and potential regulatory penalties. Additionally, the vulnerability could be leveraged as a foothold for further attacks within the network if administrative users are targeted. The absence of a patch increases the urgency for mitigation. Given the widespread use of WordPress across Europe, the threat surface is considerable, especially for sectors such as e-commerce, media, education, and government that frequently use Elementor-based themes and plugins.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Royal Elementor Addons and Templates plugin and determine the version in use. Until an official patch is released, organizations should consider the following mitigations: 1) Restrict Contributor-level and higher privileges strictly to trusted users, implementing the principle of least privilege and reviewing user roles and permissions regularly. 2) Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the 'display_message_text' parameter. 3) Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. 4) Monitor logs and user activity for signs of unauthorized content injection or anomalous behavior. 5) Consider temporarily disabling or replacing the vulnerable widget if feasible. 6) Educate site administrators and content creators about the risks of XSS and safe content practices. 7) Stay alert for official patches or updates from the vendor and apply them promptly once available. 8) Use security plugins that can sanitize inputs or outputs as an additional layer of defense.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-03T21:43:55.865Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d981bc4522896dcbd990d
Added to database: 5/21/2025, 9:08:43 AM
Last enriched: 7/5/2025, 1:57:43 PM
Last updated: 8/11/2025, 10:49:32 AM
Views: 11
Related Threats
CVE-2025-9091: Hard-coded Credentials in Tenda AC20
LowCVE-2025-9090: Command Injection in Tenda AC20
MediumCVE-2025-9092: CWE-400 Uncontrolled Resource Consumption in Legion of the Bouncy Castle Inc. Bouncy Castle for Java - BC-FJA 2.1.0
LowCVE-2025-9089: Stack-based Buffer Overflow in Tenda AC20
HighCVE-2025-9088: Stack-based Buffer Overflow in Tenda AC20
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.