Skip to main content
EPSS 0.4%top 71%

CVE-2026-13405: CWE-94 Improper Control of Generation of Code ('Code Injection') in Royal Addons for Elementor

0
Medium
Published: 08/20/2026 (08/20/2026, 06:00:15 UTC)
Source: CVE Database V5
Product: Royal Addons for Elementor

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.

CVSS v3.1

Score 6.6medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

Affected software

Royal Addons for Elementor

Affected versions
>=0 <1.7.1066

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 06:24:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WPScan
Date Reserved
2026-06-26T08:53:06.505Z
State
PUBLISHED

Threat ID: 6a8699b9acd9273b4934417c

Added to database: 08/20/2026, 06:07:53 UTC

Last enriched: 08/20/2026, 06:24:34 UTC

Last updated: 10/04/2026, 10:02:25 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses