Description
A security vulnerability has been detected in code-projects Hotel and Tourism Reservation in PHP 1.0. This impacts an unknown function of the file /ht/details.php. The manipulation of the argument room leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
Published: 2026-09-06
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from the handling of the "room" argument in //details.php. By supplying a crafted value, an attacker can inject JavaScript that will execute in the victim’s browser. This allows the attacker to steal session cookies, deface the page, or perform other client‑side attacks. The weakness is classified as a reflected cross‑site scripting vulnerability (CWE‑79). Although the description also references CWE‑94, no specific server‑side code injection has been demonstrated; the current impact remains client‑side execution.

Affected Systems

The affected product is code‑projects Hotel and Tourism Reservation in PHP, version 1.0, as identified by the CNA. The vulnerable functionality resides in an unknown function within details.php and involves the "room" parameter.

Risk and Exploitability

The CVSS score of 5.3 denotes a moderate impact. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog, indicating that widespread exploitation has not been reported. Exploitation can be triggered remotely by including crafted content in the "room" parameter of a URL. Because the vulnerability is client‑side, an attacker can maximize damage by targeting users who visit the affected page.

Generated by OpenCVE AI on September 6, 2026 at 15:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Validate or encode the "room" parameter before rendering it in HTML responses, using functions such as htmlspecialchars().
  • Deploy a strict Content Security Policy that blocks inline script execution and whitelists trusted sources.
  • Patch the application to a fixed version when released, or apply a Web Application Firewall to block malicious input if no patch is available.

Generated by OpenCVE AI on September 6, 2026 at 15:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 14:00:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in code-projects Hotel and Tourism Reservation in PHP 1.0. This impacts an unknown function of the file /ht/details.php. The manipulation of the argument room leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
Title code-projects Hotel and Tourism Reservation in PHP details.php cross site scripting
First Time appeared Code-projects
Code-projects hotel And Tourism Reservation In Php
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:code-projects:hotel_and_tourism_reservation_in_php:*:*:*:*:*:*:*:*
Vendors & Products Code-projects
Code-projects hotel And Tourism Reservation In Php
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Code-projects Hotel And Tourism Reservation In Php
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-06T13:45:22.909Z

Reserved: 2026-09-05T19:07:14.090Z

Link: CVE-2026-86216

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T14:17:25.760

Modified: 2026-09-06T14:17:25.760

Link: CVE-2026-86216

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T16:00:12Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')