Description
The WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.0.18 via the (template scope) function. This makes it possible for authenticated attackers, with contributor-level access and above, to include and execute arbitrary .php 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 .php file types can be uploaded and included.
Published: 2026-10-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Local code execution
Action: Immediate Patch
AI Analysis

Impact

Local File Inclusion in the WPCafe WordPress plugin allows authenticated users with contributor-level or higher privileges to include arbitrary .php files via the 'food_menu_style' Elementor widget setting. By crafting a request that points to a hosted PHP file, an attacker can execute that code on the server, potentially bypassing normal access controls, exfiltrating data, or escalating privileges. This issue maps to CWE‑98, which signifies the ability to read or execute local files that should be protected.

Affected Systems

WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System developed by arraytics is affected in all releases up to and including version 3.0.18. WordPress sites running this plugin and assigning contributor or higher roles have the exposure. No specific WordPress core versions are mentioned, so all installations using the plugin in these versions are at risk.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high severity vulnerability. No EPSS score is available, and the vulnerability is not currently listed in the CISA KEV catalog. The attack vector is local, requiring authenticated access with contributor-level or higher privileges; it is inferred that the attacker would modify the widget setting to point to a malicious PHP file stored on the server. Exploitation complexity appears moderate, as the attacker needs to upload the malicious file via other plugin or upload mechanisms, then adjust the setting, making it accessible with existing administrative privileges.

Generated by OpenCVE AI on October 3, 2026 at 08:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WPCafe plugin to the latest available version where LFI is patched.
  • If an immediate upgrade is not possible, restrict contributor or higher roles from accessing the Elementor widget setting or modify role capabilities to prevent injection.
  • Enable file permission enforcement and monitoring of PHP file creation inside the plugin directories; investigate any unauthorized PHP files.

Generated by OpenCVE AI on October 3, 2026 at 08:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
Link Providers
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/core/shortcodes/views/food-menu/food-list.php#L53 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/core/shortcodes/views/food-menu/food-list.php#L6 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/core/shortcodes/views/food-menu/location-menu.php#L28 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/widgets/wpc-food-location/wpc-food-location.php#L830 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/widgets/wpc-food-menu-tab/wpc-food-menu-tab.php#L848 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/widgets/wpc-location-menu/wpc-location-menu.php#L898 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.17/widgets/wpc-menus-list/wpc-menus-list.php#L942 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/core/shortcodes/views/food-menu/food-list.php#L53 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/core/shortcodes/views/food-menu/food-list.php#L6 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/core/shortcodes/views/food-menu/location-menu.php#L28 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/widgets/wpc-food-location/wpc-food-location.php#L830 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/widgets/wpc-food-menu-tab/wpc-food-menu-tab.php#L848 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/widgets/wpc-location-menu/wpc-location-menu.php#L898 cve-icon cve-icon
https://plugins.trac.wordpress.org/browser/wp-cafe/tags/3.0.18/widgets/wpc-menus-list/wpc-menus-list.php#L942 cve-icon cve-icon
https://plugins.trac.wordpress.org/changeset?reponame=&old=3706610%40wp-cafe&new=3706610%40wp-cafe cve-icon cve-icon
https://www.wordfence.com/threat-intel/vulnerabilities/id/31a1616d-a793-4153-bc19-551f39d699ec?source=cve cve-icon cve-icon
History

Sat, 03 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 03 Oct 2026 07:15:00 +0000

Type Values Removed Values Added
Description The WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.0.18 via the (template scope) function. This makes it possible for authenticated attackers, with contributor-level access and above, to include and execute arbitrary .php 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 .php file types can be uploaded and included.
Title WPCafe <= 3.0.18 - Authenticated (Contributor+) Local File Inclusion via 'food_menu_style' Elementor Widget Setting
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-03T15:42:42.516Z

Reserved: 2026-08-17T14:55:07.634Z

Link: CVE-2026-75028

cve-icon Vulnrichment

Updated: 2026-10-03T15:38:53.408Z

cve-icon NVD

Status : Received

Published: 2026-10-03T07:16:48.160

Modified: 2026-10-03T16:16:38.153

Link: CVE-2026-75028

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-03T08:30:18Z

Weaknesses
  • CWE-98

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