CVE-2026-13405: CWE-94 Improper Control of Generation of Code ('Code Injection') in Royal Addons for Elementor
CVE-2026-13405 is a code injection vulnerability in the Royal Addons for Elementor WordPress plugin before version 1.7.1066. It occurs because the plugin does not properly sanitize custom widget markup before writing it to a file that is later executed. This flaw allows users with the manage_options capability, including certain subsite administrators on WordPress Multisite installations, to execute arbitrary PHP code.
AI Analysis
Technical Summary
The Royal Addons for Elementor WordPress plugin versions prior to 1.7.1066 contain a CWE-94 improper control of code generation vulnerability. Specifically, the plugin fails to sanitize custom widget markup before writing it to a file that is executed later. This enables users with the manage_options capability, and on multisite setups, non-super subsite administrators without other code execution privileges, to execute arbitrary PHP code on the server. This vulnerability can lead to unauthorized code execution within the WordPress environment.
Potential Impact
Successful exploitation allows users with elevated WordPress privileges (manage_options capability) to execute arbitrary PHP code on the server. This can lead to full compromise of the affected WordPress site, including data theft, site defacement, or further pivoting within the hosting environment. The vulnerability affects multisite installations by expanding the threat to subsite administrators who normally lack code execution capabilities.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is available at this time. Until a patch is released, restrict the manage_options capability to trusted users only, and monitor for suspicious activity related to custom widget markup. Avoid granting elevated privileges to untrusted users, especially on multisite installations.
CVE-2026-13405: CWE-94 Improper Control of Generation of Code ('Code Injection') in Royal Addons for Elementor
Description
CVE-2026-13405 is a code injection vulnerability in the Royal Addons for Elementor WordPress plugin before version 1.7.1066. It occurs because the plugin does not properly sanitize custom widget markup before writing it to a file that is later executed. This flaw allows users with the manage_options capability, including certain subsite administrators on WordPress Multisite installations, to execute arbitrary PHP code.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Royal Addons for Elementor WordPress plugin versions prior to 1.7.1066 contain a CWE-94 improper control of code generation vulnerability. Specifically, the plugin fails to sanitize custom widget markup before writing it to a file that is executed later. This enables users with the manage_options capability, and on multisite setups, non-super subsite administrators without other code execution privileges, to execute arbitrary PHP code on the server. This vulnerability can lead to unauthorized code execution within the WordPress environment.
Potential Impact
Successful exploitation allows users with elevated WordPress privileges (manage_options capability) to execute arbitrary PHP code on the server. This can lead to full compromise of the affected WordPress site, including data theft, site defacement, or further pivoting within the hosting environment. The vulnerability affects multisite installations by expanding the threat to subsite administrators who normally lack code execution capabilities.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is available at this time. Until a patch is released, restrict the manage_options capability to trusted users only, and monitor for suspicious activity related to custom widget markup. Avoid granting elevated privileges to untrusted users, especially on multisite installations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-06-26T08:53:06.505Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8699b9acd9273b4934417c
Added to database: 08/20/2026, 06:07:53 UTC
Last enriched: 08/20/2026, 06:24:34 UTC
Last updated: 08/20/2026, 07:05:31 UTC
Views: 5
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.