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: 8/18/2025, 12:30:14 AM
Views: 35
Related Threats
CVE-2025-9100: Authentication Bypass by Capture-replay in zhenfeng13 My-Blog
MediumCVE-2025-9099: Unrestricted Upload in Acrel Environmental Monitoring Cloud Platform
MediumCVE-2025-9098: Improper Export of Android Application Components in Elseplus File Recovery App
MediumCVE-2025-31715: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in Unisoc (Shanghai) Technologies Co., Ltd. SL8521E/SL8521ET/ SL8541E/UIS8141E/UWS6137/UWS6137E/UWS6151(E)/UWS6152
CriticalCVE-2025-31714: CWE-20 Improper Input Validation in Unisoc (Shanghai) Technologies Co., Ltd. SL8521E/SL8521ET/ SL8541E/UIS8141E/UWS6137/UWS6137E/UWS6151(E)/UWS6152
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.