Skip to main content

Hotel Management System CVE-2025-63949

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-18 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious link with XSS payload in 'error' param
  2. Delivery
    Deliver link to victim via phishing
  3. Exploit
    Victim clicks and loads pages/room.php
  4. Execution
    Reflected script executes in victim browser
  5. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Rare
obscure open-source hobby project pinned to a single 2022 commit
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:yohanawi:hotel_management_system:2022-05-22:*:*:*:*:*:*:*
CVE-2024-42558 CRITICAL POC
9.8 Aug 20

Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter

CVE-2024-42556 CRITICAL POC
9.8 Aug 20

Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet

CVE-2024-25316 CRITICAL POC
9.8 Feb 09

Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'eid' parameter in Hotel/admin/usersettingdel.php?

CVE-2024-25315 CRITICAL POC
9.8 Feb 09

Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'rid' parameter in Hotel/admin/roombook.php?rid=2

CVE-2024-25314 CRITICAL POC
9.8 Feb 09

Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'sid' parameter in Hotel/admin/show.php?sid=2. Ra

CVE-2024-42773 CRITICAL POC
9.1 Aug 22

An Incorrect Access Control vulnerability was found in /admin/edit_room_controller.php in Kashipara Hotel Management Sys

CVE-2024-42775 CRITICAL POC
9.1 Aug 22

An Incorrect Access Control vulnerability was found in /admin/add_room_controller.php in Kashipara Hotel Management Syst

CVE-2024-42557 HIGH POC
8.8 Aug 20

A Cross-Site Request Forgery (CSRF) in the component admin_modify_room.php of Hotel Management System commit 91caab8 all

CVE-2024-42555 HIGH POC
8.8 Aug 20

A Cross-Site Request Forgery (CSRF) in the component admin_room_removed.php of Hotel Management System commit 91caab8 al

CVE-2024-42554 HIGH POC
8.8 Aug 20

Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet

CVE-2024-42553 HIGH POC
8.8 Aug 20

A Cross-Site Request Forgery (CSRF) in the component admin_room_added.php of Hotel Management System commit 91caab8 allo

CVE-2024-25318 HIGH POC
8.8 Feb 09

Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'pid' parameter in Hotel/admin/print.php?pid=2. Ra

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy