Skip to main content

Royal Addons for Elementor CVE-2026-8118

| EUVDEUVD-2026-37986 MEDIUM
External Control of File Name or Path (CWE-73)
2026-06-19 Wordfence GHSA-82gr-q3mv-hrr3
6.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress Contributor account
  2. Delivery
    Craft wpr-data-table widget with local filesystem path as CSV URL
  3. Exploit
    POST crafted widget to Elementor save_builder REST endpoint
  4. Execution
    wpr_get_csv_handle() bypasses HTTP check and calls fopen() on attacker-supplied path
  5. Persist
    Widget preview response returns file contents line-by-line
  6. Impact
    Extract database credentials from wp-config.php

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires a valid WordPress account with at minimum Contributor-level role - unauthenticated exploitation is not possible. The wpr-data-table widget and its CSV import feature (settings.table_upload_csv.url) must be available, which is present in all installations of versions 1.7.1058-1.7.1059. The attacker-controlled URL parameter must be set to a value that does not parse as an HTTP/HTTPS URL (e.g., a local filesystem path beginning with /), triggering the insecure fopen() fallback. Exploitation is limited to files readable by the PHP process user - files owned by root with restricted permissions (such as a hardened wp-config.php) would not be disclosed. Scope is unchanged (S:U), meaning the impact is confined to data accessible within the WordPress PHP process context. The critical limiting factor is the Contributor authentication requirement: sites that disable public user registration or restrict Contributor access face meaningfully lower risk.

Impact

The provided CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately characterizes the risk profile. The network attack vector and low complexity reflect that exploitation requires only a crafted HTTP POST to Elementor's save_builder endpoint - no special positioning or timing is needed. PR:L (low privileges) correctly marks the Contributor-level authentication requirement, which is the single most meaningful friction point limiting exposure. The C:H rating is well-justified given that wp-config.php disclosure yields database host, name, username, and password, potentially enabling full database compromise as a follow-on step beyond the base CVE. No EPSS data was provided, preventing probabilistic exploitation likelihood assessment; however, the absence of KEV listing and no reported public exploit keeps immediate automated-exploitation risk moderate. The vulnerability's narrow version range (1.7.1058-1.7.1059 only) also limits the exposed population to sites that updated to patch CVE-2026-6229 but had not yet applied the subsequent fix at time of exposure. The regression nature of this flaw - a security patch introducing a new vulnerability - is an important contextual signal: sites that applied the CVE-2026-6229 remediation promptly are precisely the ones at risk here.

Exploit ScenarioDerived

An attacker registers a Contributor account on a target WordPress site running Royal Addons for Elementor 1.7.1058 or 1.7.1059, then crafts a POST request to the Elementor save_builder endpoint containing a wpr-data-table widget whose settings.table_upload_csv.url field is set to an absolute local path such as /var/www/html/wp-config.php. When Elementor renders the widget preview, wpr_get_csv_handle() detects the value is not an HTTP URL and opens the file directly via fopen(), returning the database credentials embedded in wp-config.php line-by-line in the preview response. No public exploit code has been identified at time of analysis, but the attack requires only standard HTTP tooling and a valid Contributor session.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Arbitrary file read in Royal Addons for Elementor versions 1.7.1058-1.7.1059 allows authenticated attackers with Contributor-level access to retrieve the contents of any file readable by the PHP process - including wp-config.php and its database credentials - via a crafted wpr-data-table widget saved through Elementor's save_builder endpoint. The flaw is a regression: the vulnerable wpr_get_csv_handle() helper was itself introduced in version 1.7.1058 as the remediation for a prior CVE (CVE-2026-6229), meaning the security patch introduced a new, exploitable path. No public exploit has been identified at time of analysis, but the low privilege bar (Contributor) and high-value disclosure target (database credentials) elevate real-world risk on WordPress sites that permit open or low-friction contributor registration.

RemediationAI

Update the Royal Addons for Elementor plugin to the version incorporating changeset 3532747, available via the WordPress Plugin Repository. The upstream fix is confirmed via the Trac changeset at https://plugins.trac.wordpress.org/changeset/3532747/royal-elementor-addons; however, the exact fixed release version number is not explicitly stated in the available data - consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/d7ce047b-3cd3-475b-9a9f-38d15174e7e5 or the plugin's changelog to confirm the minimum safe version before deploying. If immediate patching is not possible, restrict the Contributor role from accessing Elementor's save_builder REST endpoint via a WAF rule or capability filter (trade-off: may break legitimate Contributor content editing). Additionally, ensure WordPress file permissions prevent the PHP process user from reading wp-config.php directly (e.g., chmod 400 and ownership by root rather than the web server user), which mitigates the highest-impact disclosure target even if the vulnerability itself cannot be patched immediately.

Affected VersionsENISA

Royal Addons for Elementor – Addons and Templates Kit for Elementor 1.7.1058 ≤1.7.1059

Affected Packages

euvd royal_addons_for_elementor_addons_and_templates_kit_for_elementor no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the wpr_get_csv_handle() PHP helper within the Royal Addons for Elementor plugin (CPE: cpe:2.3:a:wproyal:royal_addons_for_elementor_-_addons_and_templates_kit_for_elementor:*:*:*:*:*:*:*:*), a premium Elementor extension providing drag-and-drop widget kits including a data-table widget with CSV import functionality. The root cause is classified as CWE-73 (External Control of File Name or Path): when the attacker-controlled settings.table_upload_csv.url parameter does not parse as an HTTP(S) URL, the function falls back to PHP's native is_readable() and fopen($source, 'r') calls directly against the supplied value. Because there is no allow-list restricting permitted paths, no path traversal sanitization, and no file extension check, an attacker can supply any absolute or relative filesystem path - including /var/www/html/wp-config.php - and the widget's rendered preview will return the file's content line-by-line. The Elementor save_builder REST endpoint is the delivery mechanism, and the vulnerability is exercised at widget render/preview time after the malicious widget definition is persisted.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-delivered via REST endpoint (AV:N), trivial to craft (AC:L), Contributor auth required (PR:L), pure read impact only (C:H/I:N/A:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The Royal Addons for Elementor - Addons and Templates Kit for Elementor plugin for WordPress is vulnerable to Arbitrary File Read in versions 1.7.1058 through 1.7.1059. This is due to the wpr_get_csv_handle() helper (introduced in version 1.7.1058 as part of the patch for CVE-2026-6229) falling back to is_readable() and fopen($source, 'r') on the attacker-controlled settings.table_upload_csv.url value when it does not parse as an HTTP URL, with no allow-list, traversal block, or extension check. This makes it possible for authenticated attackers, with Contributor-level access and above, to save a crafted wpr-data-table widget through Elementor's save_builder endpoint and have the rendered preview return the line-by-line contents of any file readable by the PHP process, including wp-config.php.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy