Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious room parameter URL
-
DeliveryDeliver link via phishing or social engineering
-
ExploitVictim clicks crafted URL
-
ExecutionServer reflects unsanitized room value into HTML
-
PersistJavaScript executes in victim browser
-
ImpactSession cookies or credentials exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation unconditionally requires that the victim click or otherwise navigate to a specially crafted URL - passive user interaction (UI:P in CVSS 4.0 / UI:R in CVSS 3.1) is mandatory, making fully automated exploitation impossible without a social engineering step. The application must be deployed and reachable by the attacker over the network. No authentication or privileges are required of the attacker (PR:N). The impact is bounded to the victim's browser session for the application's origin: the attacker gains no direct access to server-side data, databases, or files. Exploitation is further limited to environments where the |
| Impact | The CVSS 4.0 score of 2.1 (with E:P exploit-public modifier applied) accurately reflects constrained real-world impact: user interaction is mandatory (UI:P), confidentiality impact to the vulnerable system is absent (VC:N), and integrity impact is limited (VI:L). No EPSS data was provided in the input, but given the product's niche hobbyist footprint, exploitation probability is expected to be low. No CISA KEV listing exists, and the attack is not automatable - a social engineering step is always required to deliver the malicious URL. Even a mid-sized municipal IT team in leszno running this PHP script for a local tourism portal would face modest systemic risk, since the attacker cannot directly compromise server-side data and must first trick a victim into clicking a crafted link. The primary realistic threat model is a phishing-style attack targeting authenticated administrative users to steal their session tokens. No CVSS vector inconsistencies or conflicting signals were identified. |
| Exploit ScenarioDerived | An attacker crafts a URL such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Reflected cross-site scripting in code-projects Hotel and Tourism Reservation in PHP 1.0 allows unauthenticated remote attackers to inject arbitrary JavaScript via the room parameter in /ht/details.php. When a victim user follows a crafted URL, the unsanitized parameter is reflected directly into the HTML response, executing attacker-controlled script in the victim's browser context and enabling session hijacking or credential theft. A public proof-of-concept writeup exists on GitHub, though no active exploitation has been confirmed and no CISA KEV listing is present.
RemediationAI
No vendor-released patch has been identified at time of analysis. As the application is a hobbyist code-projects PHP demo, patch timelines are uncertain and may not materialize. The primary immediate fix is applying output encoding to the room parameter before it is rendered into HTML in /ht/details.php - specifically, wrapping the reflected value with PHP's htmlspecialchars($room, ENT_QUOTES, 'UTF-8'). Additionally, deploying a web application firewall rule to block common XSS payloads in the room GET/POST parameter will reduce exploitation risk with minimal operational side effects. Organizations should seriously evaluate whether this unmaintained demo application is appropriate for any production or publicly accessible deployment. Full advisory details are at https://vuldb.com/vuln/399354.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in /ht/details.php, a PHP endpoint within the code-projects Hotel and Tourism Reservation in PHP 1.0 application (CPE: cpe:2.3:a:code-projects:hotel_and_tourism_reservation_in_php:*:*:*:*:*:*:*:*). The room HTTP parameter is reflected into the HTML response without sanitization or output encoding, satisfying the definition of CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting). This is a reflected (non-persistent) XSS pattern: the payload exists only in the crafted request URL, requires no server-side storage, and executes solely when the victim loads the attacker-crafted link. The scope change (S:C in CVSS 3.1 terms) means the browser's same-origin context for the application becomes the attack surface, allowing access to session cookies, local storage, and DOM content belonging to the vulnerable application's origin.
Know when Hotel And Tourism Reservation In Php gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Reflected XSS requires victim to follow crafted link (UI:R); scope changes to victim browser context (S:C); no server-side confidentiality or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-72134
GHSA-7r6p-phc7-gq23
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB