What the vulnerability does
01Description
The FoodBakery | Delivery Restaurant Directory WordPress Theme theme for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.7. This is due to missing or incorrect nonce validation 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. This makes it possible for unauthenticated attackers to delete arbitrary files, update theme options, export widget options, import widget options, generate backups, restore backups, and reset theme options via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Explanation of Vulnerability in Simple Terms
02Summary
The FoodBakery WordPress theme versions 4.7 and earlier contain a cross-site request forgery (CSRF) vulnerability. An attacker can craft a malicious webpage that, when visited by a logged-in site administrator, performs unauthorized actions on the site without the admin's knowledge or consent. This could allow the attacker to modify site settings, create accounts, or alter content.
What an attacker can do
03Attacker Capabilities
Perform unauthorized actions on the site by tricking a logged-in admin into visiting a malicious webpage.
Potential impact on your site
04Site Impact
An attacker can modify your site settings, create accounts, or change content if your admin visits a malicious link.
Conditions required to exploit
05Prerequisites
A site admin must visit a page controlled by the attacker while logged into WordPress.
Key dates
06Disclosure timeline
March 19, 2025
CVE published
April 8, 2026
Record updated