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/require statement within the nicdark Hotel Booking plugin. It allows a local file to be included based on user input, which can expose configuration files, source code, or any readable file on the server. If a file containing executable PHP code can be included, it may lead to remote code execution. The weakness is identified as CWE‑98.

Affected Systems

WordPress sites running the nicdark Hotel Booking plugin (nd‑booking) version 3.6 and earlier are affected. Any installation of the plugin installed in a WordPress environment without a newer patch is vulnerable.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. The EPSS score of less than 1% suggests that exploitation occurrences are currently rare, and the vulnerability is not listed in CISA’s KEV catalog. Inference: An attacker can likely 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 potentially execute malicious code.

Generated by OpenCVE AI on April 30, 2026 at 22:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Hotel Booking plugin to version 3.7 or later, which removes the vulnerable include/require logic.
  • If an immediate update is not possible, manually edit the plugin’s file handling code to whitelist only specific filenames or eliminate the vulnerable inclusion call, ensuring that the path is hard‑coded or sanitized.
  • Apply web‑server restrictions (e.g., .htaccess or mod_security rules) to block or filter requests that contain directory traversal sequences or attempt to include files outside the plugin directory.

Generated by OpenCVE AI on April 30, 2026 at 22: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-04-23T15:29:43.783

Link: CVE-2025-39526

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T22:15:16Z

Weaknesses