CVE-2025-5338

Royal Elementor Addons <= 1.7.1028 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Multiple Widgets

Published Jun 26, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.1028 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.

Analysis

AI-generated

Technical impact

The vulnerability arises from insufficient sanitisation and escaping of user‑supplied widget attributes in the Royal Elementor Addons plugin. The flaw permits an authenticated user with contributor or higher privileges to store malicious JavaScript within a page. When any visitor loads that page the script executes in the victim’s browser, providing a vector for session hijacking, defacement, or delivery of further client‑side exploits.

Affected Systems

All WordPress sites that install Royal Elementor Addons for Elementor up to and including version 1.7.1028 are affected. The issue is limited to the plugin’s widget functionality and affects any instance where contributor‑level or higher users create or edit widget content. Administrators who never install the plugin or use a later version are not impacted.

Risk and Exploitability

The CVSS score of 6.4 represents moderate severity. The EPSS score of less than 1 % suggests that widespread exploitation is unlikely at present, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the attacker to be authenticated and to have the ability to edit a widget; the script runs only in the browsers of other site visitors. Because the flaw does not elevate privileges or alter server‑side code, it is considered low‑to‑moderate risk for overall system compromise but can still cause significant user‑targeted attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Royal Elementor Addons to the latest version (>= 1.7.1029) to remove the input sanitisation flaw.
  • If an upgrade is not possible, disable or remove the plugin, or restrict the use of widgets that accept arbitrary attributes, to prevent injection.
  • Revoke contributor‑level permissions for users who do not require them and audit existing content for malicious scripts that may have already been injected.
  • Implement a site‑wide Content‑Security‑Policy that disallows unsafe-inline scripts to mitigate the impact of any remaining XSS payloads.

Generated by OpenCVE AI on April 22, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-28524 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.
History
Type Values Removed Values Added
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. 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.1028 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.
Title Royal Elementor Addons <= 1.7.1024 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Multiple Widgets Royal Elementor Addons <= 1.7.1028 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Multiple Widgets
References
Type Values Removed Values Added
First Time appeared Royal-elementor-addons
Royal-elementor-addons royal Elementor Addons
CPEs cpe:2.3:a:royal-elementor-addons:royal_elementor_addons:*:*:*:*:*:wordpress:*:*
Vendors & Products Royal-elementor-addons
Royal-elementor-addons royal Elementor Addons
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Royal Elementor Addons <= 1.7.1024 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Multiple Widgets
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:41 PM
Reserved
May 29, 2025, 9:17 PM
Status
Modified
Published
Jun 26, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:47 AM