FoodBakery | Delivery Restaurant Directory WordPress Theme <= 4.7 - Missing Authorization in Multiple Functions
Strategic Overview
- Status
- Patched in 4.8
- Affected Plugin
- WP Foodbakery
- Affected Version
<= 4.7- CVSS
- 8.8High
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2024-12920
At a glance
CVE-2024-12920 is a high-severity Missing Authorization vulnerability in the WP Foodbakery WordPress plugin, affecting versions <= 4.7. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 4.8; sites on affected versions should update now. Disclosed March 2025, reported by Lucio Sá.
Vulnerability Overview
The FoodBakery | Delivery Restaurant Directory WordPress Theme theme for WordPress is vulnerable to unauthorized access of data and modification of data due to a missing capability check on the foodbakery_var_backup_file_delete, foodbakery_widget_file_delete, theme_option_save, export_widget_settings, ajax_import_widget_data, foodbakery_var_settings_backup_generate, foodbakery_var_backup_file_restore, and theme_option_rest_all functions in all versions up to, and including, 4.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files, update theme options, export widget options, import widget options, generate backups, restore backups, and reset theme options.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-862: Missing Authorization
Reaching this weakness in WP Foodbakery <= 4.7 takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For WP Foodbakery the fix is 4.8: builds <= 4.7 are affected, anything from 4.8 onward is not.
Remediation
Update to version 4.8, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: WP Foodbakery 4.8 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in WP Foodbakery
- 9.8CVE-2025-32927: WP FoodBakery <= 3.3 PHP Object Injection
CVE-2025-32927 - 9.8CVE-2024-13011: WP Foodbakery <= 4.7 Arbitrary File Upload
CVE-2024-13011 - 9.8CVE-2025-0180: WP Foodbakery Privilege Escalation
CVE-2025-0180 - 9.8CVE-2025-0181: WP Foodbakery Authentication Bypass
CVE-2025-0181 - 8.8CVE-2024-13933: FoodBakery CSRF in Multiple Functions
CVE-2024-13933 - 8.1CVE-2026-15802: WP Foodbakery <= 4.9 Arbitrary File Deletion
CVE-2026-15802 - 6.1CVE-2024-13010: WP Foodbakery <= 4.8 Reflected Cross-Site Scripting
CVE-2024-13010 - 6.1CVE-2021-24389: FoodBakery Reflected XSS
CVE-2021-24389
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C