CVE-2024-5348
HIGH 8.8CVSS 3.1The 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.
- Published
- 1 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@wordfence.com
- NVD status
- Deferred
- Weakness
- CWE-98
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/beforeafter/index.php#L121
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/index.php#L113
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.php#L401
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/index.php#L200
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/index.php#L186
- https://plugins.trac.wordpress.org/changeset/3094318/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09af64dbc7?source=cve
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Jun 2024)