Hotel Reservation System CVE-2025-60308
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege account
-
DeliveryNavigate to Add Room form
-
ExploitInject JavaScript payload in Description field
-
InstallPayload persists in database
-
C2Admin views room listing page
-
ExecuteMalicious script executes in admin browser
-
ImpactSession cookie 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 requires the attacker to hold a low-privileged authenticated account with access to the Add Room functionality within Simple Online Hotel Reservation System 1.0 - this is the PR:L condition confirmed by the CVSS vector. The application must be deployed and accessible over a network (AV:N). Exploitation also requires that an administrator actively browses the room information page where the malicious Description is rendered (UI:R), meaning the attacker cannot control the timing of payload execution and must wait for natural administrator activity. Limiting factors include: the application is an educational demo with minimal production deployment, an authenticated account with Add Room permissions is a prerequisite, and administrator interaction is mandatory - unauthenticated remote exploitation is not possible. No non-default configuration is required; the vulnerability exists in the default application behavior. |
| Impact | The NVD CVSS base score of 4.1 (Medium) accurately reflects the constrained exploitation conditions: an attacker must hold at least low-level authenticated access (PR:L) to submit room data, and administrator interaction (UI:R) is required to trigger payload execution. These prerequisites materially reduce real-world risk compared to an unauthenticated, zero-click flaw. EPSS at 0.24% (15th percentile) corroborates this low probability of widespread exploitation. However, a publicly available PoC on GitHub (tagged 'exploit' by NVD references) lowers the technical barrier, meaning any threat actor can reproduce the attack without original research. The product is an educational demo application with an extremely narrow deployment footprint, which is the dominant risk-reduction factor. There is no CISA KEV listing and no evidence of active exploitation. The primary realistic risk is confined to environments where this specific code-projects application is deployed in a production-like context with a live administrator - an uncommon scenario. |
| Exploit ScenarioDerived | An attacker with access to the Add Room feature - for example a low-privilege staff account - navigates to the room creation form and submits a Description value containing a JavaScript payload such as a document.cookie exfiltration script pointing to an attacker-controlled server. When an administrator later browses the room listing or detail page, the stored payload executes silently in their browser, transmitting the session cookie to the attacker. A public PoC demonstrating this exact attack path is available at https://github.com/Chen1-Boop/CVE/blob/main/CVE-2025-60308.md. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Stored Cross-Site Scripting in code-projects Simple Online Hotel Reservation System 1.0 allows a low-privileged attacker to inject persistent malicious JavaScript into the Add Room Description field, which executes in the administrator's browser session when room information is viewed, resulting in session cookie theft. The CVSS vector (PR:L/UI:R/S:C) confirms the attack requires authenticated access to add rooms and administrator interaction to trigger, but scope change to C:L reflects the realistic impact of session hijacking. A publicly available proof-of-concept exploit exists on GitHub, though no public exploitation has been confirmed and EPSS sits at a low 0.24th-percentile probability.
RemediationAI
No vendor-released patch has been identified at the time of analysis for version 1.0. The upstream source is an educational code-projects application with no formal patch channel. Operators of this software should immediately sanitize and HTML-encode all user-supplied input rendered in HTML output, particularly in the room Description field, using a vetted library such as PHP's htmlspecialchars() or a framework-level output escaping mechanism; this eliminates the stored XSS root cause but requires code modification. As an immediate compensating control, access to the Add Room functionality should be restricted exclusively to fully trusted administrator accounts, which eliminates PR:L exploitation by general users - note this raises the effective privilege bar but does not remove the underlying vulnerability. Implementing a Content Security Policy (CSP) header with 'script-src self' can block inline script execution and mitigate cookie theft, though misconfigured CSP may break legitimate functionality. Enabling HttpOnly and Secure flags on session cookies prevents JavaScript-based cookie theft even if XSS fires, representing a defense-in-depth control with minimal side effects. Given the absence of a maintained patch, replacing this application with actively maintained software is the most definitive long-term remediation.
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 CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS) flaw in the room management module of a PHP-based hotel reservation application distributed by code-projects. The affected product is precisely identified by CPE as cpe:2.3:a:fabian:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*. Because the Description field in the Add Room function lacks output encoding or input sanitization, attacker-supplied JavaScript payloads are persisted to the database and later rendered unsanitized in the admin's browser. The CVSS scope-change flag (S:C) is appropriate here: the injection occurs in the reservation interface, but the impact crosses into the administrative context, enabling cookie theft and potential admin session takeover.
Know when Simple Online Hotel Reservation 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:L/UI:R/S:C/C:L/I:N/A:N
PR:L confirmed by Add Room requiring authentication; UI:R for mandatory admin browsing; S:C for cross-context cookie impact; no integrity or availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
code-projects Simple Online Hotel Reservation System 1.0 has a Cross Site Scripting (XSS) vulnerability in the Add Room function of the online hotel reservation system. Malicious JavaScript code is entered in the Description field, which can leak the administrator's cookie information when browsing this room information
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
A vulnerability was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability, which was classified as critical, has been found in itsourcecode Simple Online Hotel Reservation System
A vulnerability classified as critical was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated mediu
A vulnerability, which was classified as critical, was found in code-projects Simple Online Hotel Reservation System 1.0
A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci
A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci
CVE-2025-6419 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe
A vulnerability was detected in code-projects Simple Online Hotel Reservation System 1.0.php. Rated medium severity (CVS
CVE-2025-6578 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System version 1.0 affecting
CVE-2025-6451 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /ad
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB