CVE-2024-5348

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.
Configurations

No configuration.

History

08 Apr 2026, 19:21

Type Values Removed Values Added
CWE CWE-98

21 Nov 2024, 09:47

Type Values Removed Values Added
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/beforeafter/index.php#L121 -
References () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/index.php#L113 - () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/index.php#L113 -
References () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.php#L401 - () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.php#L401 -
References () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/index.php#L200 - () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/index.php#L200 -
References () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/index.php#L186 - () https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/index.php#L186 -
References () https://plugins.trac.wordpress.org/changeset/3094318/ - () https://plugins.trac.wordpress.org/changeset/3094318/ -
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09af64dbc7?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09af64dbc7?source=cve -

03 Jun 2024, 14:46

Type Values Removed Values Added
Summary
  • (es) El complemento Elements For Elementor para WordPress es vulnerable a la inclusión de archivos locales en todas las versiones hasta la 2.1 incluida a través del atributo 'beforeafter_layout' del widget beforeafter, el atributo 'eventsgrid_layout' de los widgets de lista y grid de eventos, el 'marquee_layout' atributo del widget de marquesina, el atributo 'postgrid_layout' del widget postgrid, el atributo 'woocart_layout' del widget woocart y el atributo 'woogrid_layout' del widget woogrid. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, incluyan y ejecuten archivos arbitrarios en el servidor, permitiendo la ejecución de cualquier código PHP en esos archivos. Esto se puede utilizar para eludir los controles de acceso, obtener datos confidenciales o lograr la ejecución de código en los casos en que se puedan cargar e incluir imágenes y otros tipos de archivos "seguros".

01 Jun 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-01 09:15

Updated : 2026-06-17 08:15


NVD link : CVE-2024-5348

Mitre link : CVE-2024-5348

CVE.ORG link : CVE-2024-5348


JSON object : View

Products Affected

No product.

CWE
CWE-98

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')