CVE-2025-31040: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Exthemes WP Food ordering and Restaurant Menu
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.
AI Analysis
Technical Summary
The vulnerability CVE-2025-31040 affects Exthemes WP Food ordering and Restaurant Menu plugin versions up to 2.7. It arises from improper validation or control of filenames used in PHP include or require statements, enabling PHP Local File Inclusion. This can allow attackers to execute arbitrary local files on the server, leading to high impact on confidentiality, integrity, and availability. The CVSS v3.1 base score is 8.1, reflecting network attack vector, high complexity, no privileges required, no user interaction, and high impact on all three security properties. There is no vendor advisory or patch information available, and the product is not a cloud service.
Potential Impact
Successful exploitation of this vulnerability could allow an unauthenticated attacker to execute arbitrary local files on the server hosting the vulnerable plugin. This may lead to full compromise of the affected system's confidentiality, integrity, and availability. The high CVSS score (8.1) indicates significant risk if exploited. No known exploits have been reported in the wild so far.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the vulnerable plugin to mitigate risk. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2025-31040: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Exthemes WP Food ordering and Restaurant Menu
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-31040 affects Exthemes WP Food ordering and Restaurant Menu plugin versions up to 2.7. It arises from improper validation or control of filenames used in PHP include or require statements, enabling PHP Local File Inclusion. This can allow attackers to execute arbitrary local files on the server, leading to high impact on confidentiality, integrity, and availability. The CVSS v3.1 base score is 8.1, reflecting network attack vector, high complexity, no privileges required, no user interaction, and high impact on all three security properties. There is no vendor advisory or patch information available, and the product is not a cloud service.
Potential Impact
Successful exploitation of this vulnerability could allow an unauthenticated attacker to execute arbitrary local files on the server hosting the vulnerable plugin. This may lead to full compromise of the affected system's confidentiality, integrity, and availability. The high CVSS score (8.1) indicates significant risk if exploited. No known exploits have been reported in the wild so far.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the vulnerable plugin to mitigate risk. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-03-26T09:23:26.402Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 69cd7340e6bfc5ba1def1468
Added to database: 4/1/2026, 7:34:24 PM
Last enriched: 5/1/2026, 11:35:58 AM
Last updated: 5/21/2026, 7:34:41 PM
Views: 21
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.