CVE-2026-86216

code-projects Hotel and Tourism Reservation in PHP details.php cross site scripting

Published Sep 6, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Code-projects hotel And Tourism Reservation
Vendors & Products Code-projects hotel And Tourism Reservation
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'}

Weaknesses
  • CWE-79

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

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 8, 2026, 1:35 PM
Reserved
Sep 5, 2026, 7:07 PM
Status
Deferred
Published
Sep 6, 2026, 2:17 PM
Modified
Sep 8, 2026, 2:17 PM