Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in nicdark Hotel Booking nd-booking allows PHP Local File Inclusion.This issue affects Hotel Booking: from n/a through <= 3.7.
Published: 2025-06-27
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Hotel Booking plugin for WordPress contains a flaw where an attacker can supply an arbitrary filename to PHP include or require calls. This improper control of the include path allows reading of any file that the web server process can access, potentially exposing configuration files, credentials, or other sensitive data. The weakness is classified as CWE‑98. It is inferred that if an attacker can force inclusion of a PHP file under their control, remote code execution could be achieved, in addition to confidentiality loss.

Affected Systems

All installations of the nicdark Hotel Booking plugin up through and including version 3.7 are affected. The vulnerability exists in every release of the plugin that has not been updated beyond 3.7.

Risk and Exploitability

With a CVSS score of 7.5 the vulnerability is considered high severity. The EPSS score is below 1 %, indicating a low current exploitation frequency, and the issue is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is remote via the web interface, as the vulnerable code is reachable through the plugin’s URLs. An attacker must construct a request that injects a malicious filename into the plugin’s include logic. Once triggered, the attacker can read arbitrary local files, and if the plugin permits inclusion of attacker‑controlled PHP files, remote code execution may result.

Generated by OpenCVE AI on May 1, 2026 at 07:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Hotel Booking plugin to version 3.8 or later, which removes the insecure include logic.
  • If an upgrade is not immediately possible, disable the plugin or restrict web access to the URLs that trigger the vulnerable include calls.
  • Configure the web server so that the PHP process has read‑only permissions on directories containing sensitive files, limiting what can be accessed through local file inclusion.

Generated by OpenCVE AI on May 1, 2026 at 07:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19339 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in nicdark Hotel Booking allows PHP Local File Inclusion. This issue affects Hotel Booking: from n/a through 3.7.
History

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

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/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 nicdark Hotel Booking allows PHP Local File Inclusion. This issue affects Hotel Booking: from n/a through 3.7. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in nicdark Hotel Booking nd-booking allows PHP Local File Inclusion.This issue affects Hotel Booking: from n/a through <= 3.7.
References
Metrics cvssV3_1

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


Fri, 27 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 27 Jun 2025 13: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 nicdark Hotel Booking allows PHP Local File Inclusion. This issue affects Hotel Booking: from n/a through 3.7.
Title WordPress Hotel Booking plugin <= 3.7 - Local File Inclusion Vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

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


Subscriptions

Nicdark Hotel Booking
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:13:22.055Z

Reserved: 2025-06-27T11:58:24.740Z

Link: CVE-2025-53259

cve-icon Vulnrichment

Updated: 2025-06-27T13:56:06.622Z

cve-icon NVD

Status : Deferred

Published: 2025-06-27T14:15:45.467

Modified: 2026-04-23T15:32:22.570

Link: CVE-2025-53259

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-01T07:15:11Z

Weaknesses