CVE-2024-5709 WPBakery <= 7.7 - Authenticated (Author+) Local File Inclusion
Authenticated attackers with Author access can exploit a Local File Inclusion vulnerability in WPBakery to execute arbitrary PHP code and read sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5709?
CVE-2024-5709 is a high-severity path traversal vulnerability in WPBakery Page Builder, published on 6 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WPBakery Visual Composer plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 7.7 via the 'layout_name' parameter. This makes it possible for authenticated attackers, with Author-level access and above, and with post permissions granted by an Administrator, 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.
Weakness: CWE-22
Which versions are affected by CVE-2024-5709?
It affects 1 product.
Products include Wpbakery Page Builder.
How do I fix CVE-2024-5709?
No fix has been published for CVE-2024-5709 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-5709 being exploited?
There is no known exploitation of CVE-2024-5709 in the wild and no public exploit code.
Other vulnerabilities in WPBakery Page Builder
- CVE-2024-43953 WordPress Classic Addons – WPBakery Page Builder plugin <= 3.5 - Cross Site Scripting (XSS) vulnerability
- CVE-2023-31213 WordPress WPBakery Page Builder Plugin < 6.13.0 is vulnerable to Cross Site Scripting (XSS)
- CVE-2025-10006 WPBakery Page Builder <= 8.6 - Authenticated (Contributor+) Stored Cross-Site Scripting
- CVE-2025-11160 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via Custom JS Module
- CVE-2025-11161 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via vc_custom_heading Shortcode
Sources
Also known as GHSA-8wgf-r9xp-xr3r.