Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111851 Overview
CVE-2026-111851 is an unsafe reflection vulnerability in the WProyal Royal Elementor Addons plugin for WordPress. The flaw allows authenticated attackers to inject and execute arbitrary code by supplying externally-controlled input used to select classes or code paths. The vulnerability affects all versions of royal-elementor-addons from unspecified initial releases through 1.7.1068. It is tracked under CWE-470: Use of Externally-Controlled Input to Select Classes or Code.
Critical Impact
Authenticated attackers with low privileges can execute arbitrary code on affected WordPress installations, leading to full site compromise.
Affected Products
- WProyal Royal Elementor Addons (royal-elementor-addons) plugin for WordPress
- All versions up to and including 1.7.1068
- WordPress sites running the vulnerable plugin with authenticated low-privilege user access enabled
Discovery Timeline
- 2026-10-22 - CVE-2026-111851 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-111851
Vulnerability Analysis
The vulnerability stems from unsafe reflection within the Royal Elementor Addons plugin. The plugin accepts user-supplied input and uses it to dynamically select classes or code paths without sufficient validation against an allowlist. Attackers with low-privilege authenticated access can abuse this behavior to instantiate arbitrary classes or invoke unintended methods. The result is arbitrary code execution within the WordPress application context.
Successful exploitation leads to full compromise of the WordPress site. Attackers can modify content, exfiltrate data from the WordPress database, drop web shells, and pivot to adjacent systems. The attack can be launched over the network without user interaction.
Root Cause
The root cause is improper validation of externally-controlled input used to select classes or code [CWE-470]. The plugin does not restrict reflection targets to a defined allowlist of safe classes or methods. Any string accepted from a request parameter can resolve to an attacker-chosen class, enabling the invocation of unintended logic.
Attack Vector
An authenticated attacker sends a crafted HTTP request to a plugin endpoint that performs reflection on user-supplied input. The attacker supplies a class name or method identifier that triggers execution of unintended PHP code. Because WordPress plugins execute within the web server process, the resulting code executes with the privileges of the PHP runtime.
Technical details are available in the Patchstack Vulnerability Report.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-111851
Indicators of Compromise
- Unexpected PHP files written to wp-content/uploads/ or plugin directories following requests to Royal Elementor Addons endpoints
- Outbound network connections from the web server to unknown hosts shortly after authenticated plugin activity
- Unusual WordPress option or user table modifications correlated with low-privilege account activity
- Web server logs showing POST requests to admin-ajax.php referencing Royal Elementor Addons actions with suspicious class or method parameters
Detection Strategies
- Inventory WordPress sites and identify any installation of royal-elementor-addons at version 1.7.1068 or earlier
- Review web access logs for requests containing fully-qualified PHP class names or namespace separators (\) in parameter values
- Enable WordPress audit logging to track plugin option changes, new administrator accounts, and file modifications
- Correlate authenticated user activity with file system writes under the WordPress document root
Monitoring Recommendations
- Monitor file integrity in WordPress core, plugin, and upload directories for unauthorized changes
- Alert on PHP process spawning shell interpreters or outbound connections from the web server
- Track creation of new WordPress users with elevated roles, especially following plugin interaction
- Review error logs for exceptions originating from reflection calls within the Royal Elementor Addons codebase
How to Mitigate CVE-2026-111851
Immediate Actions Required
- Update Royal Elementor Addons to a version later than 1.7.1068 once a patched release is published by WProyal
- Audit all authenticated user accounts and remove unused or suspicious low-privilege accounts
- Review web server and WordPress logs for prior exploitation attempts targeting plugin endpoints
- Rotate credentials, API keys, and WordPress salts if compromise is suspected
Patch Information
Refer to the Patchstack Vulnerability Report for the latest remediation guidance and patched version information. Apply the vendor-supplied update as soon as it is available through the WordPress plugin repository.
Workarounds
- Deactivate and remove the Royal Elementor Addons plugin until a patched version is installed
- Restrict access to the WordPress admin interface using IP allowlisting at the web server or WAF layer
- Deploy a web application firewall rule to block requests containing PHP class syntax in parameters directed at plugin endpoints
- Enforce the principle of least privilege by limiting the number of authenticated users with access to Elementor editing features
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

