CVE-2024-5348: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in nicdark Elements For Elementor
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.
AI Analysis
Technical Summary
CVE-2024-5348 is a Local File Inclusion vulnerability in the Elements For Elementor WordPress plugin affecting all versions up to 2.1. It arises from improper control of filenames used in include/require statements within multiple widget layout attributes. Authenticated attackers with Contributor-level privileges or higher can exploit this to include arbitrary files, potentially executing malicious PHP code on the server. This vulnerability is classified under CWE-98 and has a CVSS 3.1 base score of 8.8, indicating high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated user with Contributor-level access or above to execute arbitrary PHP code on the server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects server-side code execution and can severely impact the confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the affected plugin. Monitor for updates from the vendor and apply patches promptly once released.
CVE-2024-5348: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in nicdark Elements For Elementor
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5348 is a Local File Inclusion vulnerability in the Elements For Elementor WordPress plugin affecting all versions up to 2.1. It arises from improper control of filenames used in include/require statements within multiple widget layout attributes. Authenticated attackers with Contributor-level privileges or higher can exploit this to include arbitrary files, potentially executing malicious PHP code on the server. This vulnerability is classified under CWE-98 and has a CVSS 3.1 base score of 8.8, indicating high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated user with Contributor-level access or above to execute arbitrary PHP code on the server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects server-side code execution and can severely impact the confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the affected plugin. Monitor for updates from the vendor and apply patches promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-24T22:20:05.116Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6be6b7ef31ef0b55bec4
Added to database: 2/25/2026, 9:38:46 PM
Last enriched: 4/9/2026, 7:56:00 AM
Last updated: 4/12/2026, 5:10:48 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.