CVE-2025-31040 HIGH

CVE-2025-31040: WordPress WP Food ordering and Restaurant Menu plugin <= 2.7 - Local File Inclusion vulnerability

Vendor Exthemes
Product WP Food ordering and Restaurant Menu
Weakness CWE-98 · PHP file inclusion
Published April 11, 2025
Last update April 28, 2026

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Exthemes WP Food ordering and Restaurant Menu wp-food allows PHP Local File Inclusion.This issue affects WP Food ordering and Restaurant Menu: from n/a through <= 2.7.

Explanation of Vulnerability in Simple Terms

02Summary

WP Food Ordering and Restaurant Menu versions 2.7 and earlier contain a code injection vulnerability that allows unauthenticated attackers to execute arbitrary PHP code on the site. The vulnerability requires high attack complexity but no user interaction. Successful exploitation grants full control over the WordPress installation, including database access and file system modification.

What an attacker can do

03Attacker Capabilities

Run arbitrary PHP code on the site and take full control of the WordPress installation.

Potential impact on your site

04Site Impact

Complete compromise of the WordPress site, including data theft, malware injection, and loss of site availability.

Conditions required to exploit

05Prerequisites

Network access to the site; no authentication or user interaction required, but exploitation requires specific conditions.

Key dates

06Disclosure timeline

April 11, 2025 CVE published
April 28, 2026 Record updated