CVE-2025-5338: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wproyal Royal Elementor Addons and Templates
The Royal Elementor Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widgets in all versions up to, and including, 1.7.1024 due to insufficient input sanitization and output escaping on user supplied attributes. 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-2025-5338 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Royal Elementor Addons and Templates plugin for WordPress, developed by wproyal. This vulnerability affects all versions up to and including 1.7.1024. The root cause is insufficient input sanitization and output escaping of user-supplied attributes in multiple widgets provided by the plugin. An authenticated attacker with contributor-level privileges or higher can exploit this flaw by injecting arbitrary malicious scripts into pages generated by the plugin. These scripts are then stored persistently and executed in the browsers of any users who visit the compromised pages, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability has a CVSS v3.1 base score of 6.4, indicating a medium severity level. The attack vector is network-based, requiring low attack complexity and privileges at the contributor level, but no user interaction is needed for the malicious script to execute once the page is accessed. The scope is changed, meaning the vulnerability affects components beyond the initially vulnerable plugin, potentially impacting the broader WordPress site environment. No known exploits in the wild have been reported yet, and no official patches have been linked as of the publication date (June 26, 2025).
Potential Impact
For European organizations using WordPress sites with the Royal Elementor Addons plugin, this vulnerability poses a significant risk to website integrity and user trust. Exploitation could lead to unauthorized script execution, enabling attackers to steal session cookies, deface websites, redirect users to malicious sites, or perform actions on behalf of legitimate users. This can result in data breaches, loss of customer confidence, and potential regulatory penalties under GDPR if personal data is compromised. The requirement for contributor-level access limits the attack surface to insiders or compromised accounts, but given the collaborative nature of many organizational websites, this is a realistic threat. The cross-site scripting vulnerability can also be leveraged as a stepping stone for further attacks within the network, especially if administrative users access the injected pages. The medium severity score reflects a moderate but tangible risk, particularly for organizations with high web traffic or sensitive data handled via their WordPress sites.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Royal Elementor Addons plugin and verify its version. Until an official patch is released, organizations should restrict contributor-level access strictly to trusted users and review user roles and permissions to minimize exposure. Implementing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection patterns in HTTP requests can provide temporary protection. Additionally, employing Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting the sources from which scripts can be executed. Regularly monitoring website content for unauthorized changes and conducting security scans focused on XSS vulnerabilities is advisable. Once a patch becomes available, prompt application is critical. Organizations should also educate content contributors about safe input practices and the risks of injecting untrusted content.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-5338: 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 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widgets in all versions up to, and including, 1.7.1024 due to insufficient input sanitization and output escaping on user supplied attributes. 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-2025-5338 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Royal Elementor Addons and Templates plugin for WordPress, developed by wproyal. This vulnerability affects all versions up to and including 1.7.1024. The root cause is insufficient input sanitization and output escaping of user-supplied attributes in multiple widgets provided by the plugin. An authenticated attacker with contributor-level privileges or higher can exploit this flaw by injecting arbitrary malicious scripts into pages generated by the plugin. These scripts are then stored persistently and executed in the browsers of any users who visit the compromised pages, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability has a CVSS v3.1 base score of 6.4, indicating a medium severity level. The attack vector is network-based, requiring low attack complexity and privileges at the contributor level, but no user interaction is needed for the malicious script to execute once the page is accessed. The scope is changed, meaning the vulnerability affects components beyond the initially vulnerable plugin, potentially impacting the broader WordPress site environment. No known exploits in the wild have been reported yet, and no official patches have been linked as of the publication date (June 26, 2025).
Potential Impact
For European organizations using WordPress sites with the Royal Elementor Addons plugin, this vulnerability poses a significant risk to website integrity and user trust. Exploitation could lead to unauthorized script execution, enabling attackers to steal session cookies, deface websites, redirect users to malicious sites, or perform actions on behalf of legitimate users. This can result in data breaches, loss of customer confidence, and potential regulatory penalties under GDPR if personal data is compromised. The requirement for contributor-level access limits the attack surface to insiders or compromised accounts, but given the collaborative nature of many organizational websites, this is a realistic threat. The cross-site scripting vulnerability can also be leveraged as a stepping stone for further attacks within the network, especially if administrative users access the injected pages. The medium severity score reflects a moderate but tangible risk, particularly for organizations with high web traffic or sensitive data handled via their WordPress sites.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Royal Elementor Addons plugin and verify its version. Until an official patch is released, organizations should restrict contributor-level access strictly to trusted users and review user roles and permissions to minimize exposure. Implementing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection patterns in HTTP requests can provide temporary protection. Additionally, employing Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting the sources from which scripts can be executed. Regularly monitoring website content for unauthorized changes and conducting security scans focused on XSS vulnerabilities is advisable. Once a patch becomes available, prompt application is critical. Organizations should also educate content contributors about safe input practices and the risks of injecting untrusted content.
Affected Countries
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
- 2025-05-29T21:17:30.244Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 685d144eca1063fb8740798e
Added to database: 6/26/2025, 9:35:10 AM
Last enriched: 6/26/2025, 9:50:29 AM
Last updated: 11/21/2025, 12:05:55 AM
Views: 80
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-2025-13485: SQL Injection in itsourcecode Online File Management System
MediumCVE-2025-64660: CWE-284: Improper Access Control in Microsoft Visual Studio Code
MediumCVE-2025-64655: CWE-285: Improper Authorization in Microsoft Dynamics OmniChannel SDK Storage Containers
HighCVE-2025-62459: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Microsoft Microsoft 365 Defender Portal
HighCVE-2025-62207: CWE-918: Server-Side Request Forgery (SSRF) in Microsoft Azure Monitor Control Service
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.