WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce <= 2.2.25 - Authenticated (Contributor+) File inclusion via Shortcode

8.8
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
CVE CVE-2024-5431
CVSS 8.8 (High)
Publicly Published June 24, 2024
Last Updated June 25, 2024
Researcher Krzysztof Zając - CERT PL

Description

The WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.2.25 via the reservation_extra_field shortcode parameter. This makes it possible for authenticated attackers, with Contributor-level access and above, to include remote files on the server, potentially resulting in code execution

References

Share

Vulnerability Details for WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System

Software Type Plugin
Software Slug wp-cafe (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.2.26, or a newer patched version
Affected Version
  • <= 2.2.25
Patched Version
  • 2.2.26

Recent vulnerabilities in WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System

# Title CVE ID CVSS Researchers Date
1 WPCafe <= 3.0.14 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Modification via REST API CVE-2026-11818 5.4 Sushi Com Abacate July 9, 2026
2 WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System <= 3.0.14 - Missing Authorization CVE-2026-57622 4.3 L4m June 25, 2026
3 WPCafe – Restaurant Menu, Online Food Ordering and Reservation Booking Solution <= 3.0.7 - Missing Authorization CVE-2026-27071 5.3 daroo March 12, 2026
4 WPCafe <= 2.2.32 - Authenticated (Contributor+) Local File Inclusion CVE-2025-39452 8.8 theviper17y April 17, 2025
5 WPCafe <= 2.2.31 - Authenticated (Contributor+) Local File Inclusion CVE-2025-30829 8.8 LVT-tholv2k March 27, 2025
6 WPCafe <= 2.2.28 - Authenticated (Contributor+) Local File Inclusion CVE-2024-43135 8.8 João Pedro Soares de Alcântara August 7, 2024
7 WPCafe <= 2.2.27 - Authenticated (Contributor+) Local File Inclusion CVE-2024-37513 8.8 João Pedro Soares de Alcântara July 5, 2024
8 WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce <= 2.2.24 - Authenticated (Contributor+) Stored Cross-Site Scripting via Reservation Form Shortcode CVE-2024-5427 6.4 Krzysztof Zając May 30, 2024
9 WPCafe <= 2.2.23 - Unauthenticated Blind Server-Side Request Forgery CVE-2024-1855 5.3 Lucio Sá May 22, 2024
10 WPCafe <= 2.2.22 - Missing Authorization CVE-2023-47805 5.3 Abdi Pranata November 15, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation