Elements For Elementor <= 2.1 - Authenticated (Contributor+) Local File Inclusion via Multiple Widget Attributes
Summary
| CVE | CVE-2024-5348 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-06-01 09:15:10 UTC |
| Updated | 2026-04-08 19:21:55 UTC |
| Description | The Elements For Elementor plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.1 via the 'beforeafter_layout' attribute of the beforeafter widget, the 'eventsgrid_layout' attribute of the eventsgrid and list widgets, the 'marquee_layout' attribute of the marquee widget, the 'postgrid_layout' attribute of the postgrid widget, the 'woocart_layout' attribute of the woocart widget, and the 'woogrid_layout' attribute of the woogrid widget. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.003650000 probability, percentile 0.585160000 (date 2026-04-12)
Problem Types: CWE-98 | CWE-98 CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Nicdark | Elements For Elementor | affected 2.1 semver | Not specified |
| ADP | Nicdark | Elements For Elementor | affected 2.1 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09a... | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/index.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/index.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/beforeafter/index.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3094318 | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/index.php | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Matthew Rollings (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-05-31T00:00:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.