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

Impact

The vulnerability is an improper control of the filename used in a PHP include or require statement within the nicdark Hotel Booking plugin. It permits a local file to be included based on user input. This can expose configuration files, source code, and any readable file on the server. If the included file contains executable PHP code, an attacker may be able to run that code.

Affected Systems

WordPress sites that use the nicdark Hotel Booking (nd-booking) plugin with version 3.6 or earlier are affected. Sites that have not upgraded to a later version are exposed.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. The EPSS score of <1% points to a low likelihood of exploitation, and the vulnerability is not listed in CISA's KEV catalog. Based on the description, it is inferred that an attacker could trigger the inclusion by sending a crafted request to a URL parameter that supplies the include path. The attack could be performed by an unauthenticated user if the vulnerable endpoint is publicly accessible. Successful exploitation would grant the attacker read access to arbitrary local files and could allow execution of any PHP code included.

Generated by OpenCVE AI on June 18, 2026 at 07:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Hotel Booking plugin to the newest available version or a version where the vulnerable include logic has been removed.
  • If an update is not available, modify the plugin’s code to remove the vulnerable inclusion call or restrict the include to a whitelist of trusted filenames, ensuring the path is hard‑coded or appropriately sanitized.
  • Apply server‑side restrictions, such as .htaccess or mod_security rules, to block requests that contain directory traversal sequences or attempts to include files outside the plugin directory.

Generated by OpenCVE AI on June 18, 2026 at 07:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-11738 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.6.
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 nicdark Hotel Booking allows PHP Local File Inclusion. This issue affects Hotel Booking: from n/a through 3.6. 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.6.
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'}


Thu, 17 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 17 Apr 2025 16: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 nicdark Hotel Booking allows PHP Local File Inclusion. This issue affects Hotel Booking: from n/a through 3.6.
Title WordPress Hotel Booking Plugin <= 3.6 - 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

Nicdark Hotel Booking
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

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

Reserved: 2025-04-16T06:24:32.684Z

Link: CVE-2025-39526

cve-icon Vulnrichment

Updated: 2025-04-17T17:41:34.158Z

cve-icon NVD

Status : Deferred

Published: 2025-04-17T16:15:56.507

Modified: 2026-06-17T09:18:06.130

Link: CVE-2025-39526

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T07:15:17Z

Weaknesses
  • CWE-98

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