WordPress security changelog
MEDIUM CVE-2026-13405 Deferred

Royal Addons custom widgets permit arbitrary PHP execution

Royal Addons for Elementor before 1.7.1066 does not adequately sanitize custom widget markup before writing it into a file that is later executed. A user with the manage_options capability can place arbitrary PHP into that generated file. On WordPress Multisite, this also allows a non-super subsite administrator—who does not ordinarily possess code-execution privileges—to execute PHP.

CVE / CNA score 6.6 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score Pending NVD has not published its own CVSS assessment.
Component
Royal Addons for Elementor
Plugin slug
royal-elementor-addons
Affected
< 1.7.1066
Safe version
1.7.1066
Published
Aug 20, 2026
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Aug 20, 2026 and is one of 81 known issues for this plugin.

Update, patch or deactivate.

Update Royal Addons for Elementor to 1.7.1066 or later. Review custom widgets and generated files, particularly on Multisite installations, and investigate unexpected PHP execution or subsite-administrator activity.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Royal Addons for Elementor WordPress plugin before 1.7.1066 does not correctly sanitise custom widget markup before writing it to a file that is later executed, allowing users with the manage_options capability (and, on WordPress Multisite, non-super subsite administrators who do not otherwise hold code-execution capabilities) to execute arbitrary PHP code.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

Primary and upstream sources