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. |
| Impact | CVSS 5.3 with network-accessible attack vector (AV:N, AC:L, PR:N) indicates moderate severity with low attack complexity and no privilege requirements. However, the vulnerability requires user interaction (UI:P) to trigger, limiting autonomous exploitation. The impact scope is minimal: CVSS shows only information disclosure (VI:L) with no integrity, availability, or confidentiality impact to the system itself-the risk is primarily to end users whose browsers execute attacker-supplied scripts (session hijacking, credential theft, malware distribution). Exploitation probability is marked as Proof-of-Concept (E:P), and publicly available exploit code exists per references, elevating practical risk despite moderate CVSS. SSVC perspective: automatable malware delivery is possible via social engineering (phishing links), but the requirement for victim interaction and limited system impact reduce enterprise infrastructure risk. |
| Exploit ScenarioDerived | An attacker discovers the XSS vulnerability in the roomname parameter and crafts a malicious URL such as 'http://target.com/booknow.php?roomname=<script>alert(document.cookie)</script>'. The attacker sends this link to hotel staff or customers via email or instant message, enticing them to click (social engineering). When a victim clicks the link, the JavaScript payload executes in their browser within the context of the hotel booking application, allowing the attacker to steal session cookies, redirect to a phishing page, or inject keyloggers. Publicly available proof-of-concept code documented on GitHub (ahmadmarz10-hub/CVEsMarz repository) demonstrates this attack, lowering the barrier for opportunistic exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Reflected cross-site scripting (XSS) in code-projects Online Hotel Booking 1.0 allows unauthenticated remote attackers to inject malicious scripts via the roomname parameter in the /booknow.php endpoint, exploitable through user interaction (UI:P). Publicly available exploit code exists for this vulnerability, which carries a moderate CVSS score of 5.3 but limited impact scope (information disclosure only, no integrity or availability impact).
RemediationAI
The primary remediation is to upgrade to a patched version if the vendor has released one; however, no vendor-released patch version has been identified in available data. Immediate mitigation measures include: (1) Apply output encoding to the roomname parameter and all user-supplied input before rendering in HTML responses (use context-appropriate encoding such as HTML entity encoding for URL parameters); (2) Implement Content Security Policy (CSP) headers to prevent inline script execution; (3) Perform input validation to reject or sanitize special characters; (4) Update to the latest version of code-projects Online Hotel Booking if available. Organizations using this software should contact code-projects.org directly for patch availability. In the interim, restrict access to the /booknow.php endpoint or disable the affected functionality if feasible.
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
This is a classic reflected XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) in a PHP-based hotel booking application. The /booknow.php endpoint fails to sanitize or encode user-supplied input from the roomname parameter before reflecting it in HTTP responses. An attacker crafts a malicious URL containing JavaScript code in the roomname parameter; when a victim visits this URL, the unvalidated input is rendered as executable script in their browser context. This affects the code-projects Online Hotel Booking system version 1.0, a PHP application available at code-projects.org.
Know when 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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in code-projects Online Hotel Booking 1.0. Affected by this vulnerability is an unknown functionality of the file /booknow.php of the component Booking Endpoint. Such manipulation of the argument roomname leads to cross site scripting. It is possible to launch the attack remotely. The exploit is publicly available and might 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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-19559
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB