Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/beforeafter
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/ind
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/in
- https://plugins.trac.wordpress.org/changeset/3094318/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93c
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/beforeafter
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/ind
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/in
- https://plugins.trac.wordpress.org/changeset/3094318/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93c
FAQ
What is CVE-2024-5348?
CVE-2024-5348 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 'e...
How severe is CVE-2024-5348?
CVE-2024-5348 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-5348?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.