Description
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.
Published: 2025-04-11
Score: 8.1 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from improper validation of the filename used in PHP's include/require statement. The plugin allows a local file path to be passed without sanitization, enabling a locally stored file to be read or executed. This can lead to disclosure of sensitive data or arbitrary PHP code execution, potentially compromising the entire WordPress installation.

Affected Systems

Affected are all installations of the Exthemes WP Food ordering and Restaurant Menu plugin for WordPress from the initial release through version 2.7. Any site that has not upgraded beyond 2.7 is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. The EPSS score of <1% suggests a low current exploitation likelihood, and the vulnerability is not included in CISA’s KEV catalog. The likely attack vector requires an attacker to supply a malicious filename parameter; based on the description it is inferred that the vulnerable parameter may be exposed via public or administrative interfaces. Successful exploitation could result in reading arbitrary files or executing PHP code, posing significant confidentiality, integrity, and availability risks.

Generated by OpenCVE AI on June 18, 2026 at 02:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WP Food ordering and Restaurant Menu plugin to a version higher than 2.7.
  • If an upgrade cannot be performed immediately, modify the plugin code to validate or restrict include paths, ensuring only trusted files are loaded.
  • Configure WordPress file permissions to prevent execution of PHP files in non‑plugin directories and deploy a Web Application Firewall to detect and block LFI attempts.

Generated by OpenCVE AI on June 18, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-10796 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in NotFound WP Food ordering and Restaurant Menu allows PHP Local File Inclusion. This issue affects WP Food ordering and Restaurant Menu: from n/a through 1.1.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in NotFound WP Food ordering and Restaurant Menu allows PHP Local File Inclusion. This issue affects WP Food ordering and Restaurant Menu: from n/a through 1.1. 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.
Title WordPress WP Food ordering and Restaurant Menu <= 1.1 - Local File Inclusion Vulnerability WordPress WP Food ordering and Restaurant Menu plugin <= 2.7 - Local File Inclusion vulnerability
References
Metrics cvssV3_1

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


Fri, 11 Apr 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 11 Apr 2025 09:00:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in NotFound WP Food ordering and Restaurant Menu allows PHP Local File Inclusion. This issue affects WP Food ordering and Restaurant Menu: from n/a through 1.1.
Title WordPress WP Food ordering and Restaurant Menu <= 1.1 - Local File Inclusion Vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:04.113Z

Reserved: 2025-03-26T09:23:26.402Z

Link: CVE-2025-31040

cve-icon Vulnrichment

Updated: 2025-04-11T14:32:39.695Z

cve-icon NVD

Status : Deferred

Published: 2025-04-11T09:15:20.420

Modified: 2026-06-17T09:09:46.390

Link: CVE-2025-31040

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T02:45:16Z

Weaknesses
  • CWE-98

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