Hotel Management System
CVE-2025-63949
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious link with XSS payload in 'error' param
-
DeliveryDeliver link to victim via phishing
-
ExploitVictim clicks and loads pages/room.php
-
ExecutionReflected script executes in victim browser
-
ImpactHijack session or exfiltrate data
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 requires that a victim with access to the application click an attacker-crafted URL targeting pages/room.php with a malicious payload in the 'error' GET parameter; the server reflects this unsanitized input into the response (CWE-79). The primary limiting factor is mandatory user interaction (UI:R) - the attack cannot succeed without a victim following the crafted link - which constrains it to social-engineering delivery rather than autonomous/remote exploitation. Impact is confined to the victim's browser session (S:C, C:L/I:L); there is no direct server compromise. No special non-default configuration is indicated, but the affected code is a specific commit (87e004a / build 2022-05-22) of a niche project, so only instances running that unpatched codebase are exposed. |
| Impact | This is a textbook moderate-severity reflected XSS (CWE-79) with signals that consistently point to LOW real-world priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, base 6.1) indicates a network-reachable, unauthenticated, low-complexity flaw, but mandatory user interaction (UI:R - a victim must click a crafted link) and only Low confidentiality/integrity impact scoped to the victim's browser session cap the severity. EPSS reinforces low urgency at 0.26% (17th percentile), and the vulnerability is NOT on the CISA KEV list, so there is no evidence of active exploitation. The one elevating signal is that POC/exploit code is publicly available (a GitHub advisory), which lowers the barrier to opportunistic use - but POC availability is distinct from active exploitation and does not by itself justify emergency patching. No SSVC decision data was provided in the input. The signals are internally consistent (no CVSS/description conflict): low EPSS, no KEV, user-interaction requirement, and a niche target product all align to make this a routine-patch item rather than a priority. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL for a vulnerable Hotel Management System instance that injects script into the 'error' parameter of pages/room.php, then delivers it to a victim via phishing email, chat, or a planted link. When the victim (potentially a logged-in hotel staff member or guest) clicks the link, the reflected script executes in their browser in the site's context, enabling session cookie theft, UI redressing, or actions on their behalf. Public POC/exploit code exists, lowering the skill required to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Reflected cross-site scripting in the yohanawi Hotel Management System (commit 87e004a, build dated 2022-05-22) allows an unauthenticated remote attacker to run arbitrary JavaScript in a victim's browser by luring them to a crafted URL that places a malicious payload in the 'error' GET parameter of pages/room.php. Exploitation is unauthenticated (PR:N) but requires victim interaction (UI:R), so it depends on social engineering rather than autonomous compromise, and impact is limited to the victim's browser session within the vulnerable site's origin (S:C, C:L/I:L) with no direct server takeover. Publicly available exploit code and a proof-of-concept write-up exist, but there is no confirmed active exploitation (not in CISA KEV); EPSS is only 0.26% (17th percentile), indicating low real-world exploitation likelihood, and the affected code is a specific commit of a niche project.
RemediationAI
No vendor-released patch was identified at time of analysis, and the advisory references point to third-party vulnerability research (https://github.com/solonbarroso/vulnerability-research/blob/main/advisories/Hotel-Management-System/CVE-2025-63949.md) rather than an official fix, so operators of commit 87e004a should treat the code as unpatched. The most direct code-level fix is to apply context-aware output encoding (e.g. PHP htmlspecialchars() with ENT_QUOTES and UTF-8) to the 'error' parameter before it is echoed into pages/room.php, plus input validation that whitelists expected error codes; this changes the response behavior only for attacker-controlled input, so functional side effects are minimal. Where source changes are not feasible, deploy a Content-Security-Policy header that disallows inline and third-party script (script-src 'self') and set the affected pages to serve with HttpOnly/SameSite cookies - trade-offs include possible breakage of legitimate inline JavaScript in the application. Because exploitation requires a victim to click a crafted link, user-awareness training and link filtering offer marginal additional protection but should not be relied on as the primary control; the underlying reflected-output flaw will remain until the parameter is properly encoded. Monitor the project repository and the referenced advisories for a patched revision, and if the application is internet-facing, restrict access to trusted networks until a fix or hardening is in place.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic reflected XSS (CWE-79) in a PHP-based hotel management web application. The script pages/room.php takes the 'error' query-string parameter and reflects it into the generated HTML response without context-appropriate output encoding or sanitization, so an attacker-supplied string is rendered as markup/script in the victim's browser rather than as inert text. Because it is reflected rather than stored, the payload never persists on the server; the attacker must deliver a fully formed URL to the victim. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects network reachability, low attack complexity, no authentication requirement, mandatory user interaction, and a scope change (S:C) because script executes in the context of the victim's browser session and can act on their behalf within the application - though confidentiality and integrity impacts are rated Low and there is no availability impact. The affected artifact is identified by CPE cpe:2.3:a:yohanawi:hotel_management_system:2022-05-22, corresponding to commit 87e004a of the project, indicating the flaw exists in that snapshot of the codebase rather than across all versions.
Know when Hotel Management System 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-delivered reflected XSS needs no privileges (PR:N) but requires the victim to click a crafted link (UI:R); script runs in the browser crossing a trust boundary (S:C) with Low C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A Reflected Cross-Site Scripting (XSS) vulnerability in yohanawi Hotel Management System (commit 87e004a) allows a remote attacker to execute arbitrary web script via the 'error' parameter in pages/room.php.
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.
Affected Products (CPE)CVE.org
More in Hotel Management System
View allHotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter
Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet
Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'eid' parameter in Hotel/admin/usersettingdel.php?
Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'rid' parameter in Hotel/admin/roombook.php?rid=2
Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'sid' parameter in Hotel/admin/show.php?sid=2. Ra
An Incorrect Access Control vulnerability was found in /admin/edit_room_controller.php in Kashipara Hotel Management Sys
An Incorrect Access Control vulnerability was found in /admin/add_room_controller.php in Kashipara Hotel Management Syst
A Cross-Site Request Forgery (CSRF) in the component admin_modify_room.php of Hotel Management System commit 91caab8 all
A Cross-Site Request Forgery (CSRF) in the component admin_room_removed.php of Hotel Management System commit 91caab8 al
Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet
A Cross-Site Request Forgery (CSRF) in the component admin_room_added.php of Hotel Management System commit 91caab8 allo
Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'pid' parameter in Hotel/admin/print.php?pid=2. Ra
NVD
CVE.org
EPSS
GitHub
Exploit-DB