Skip to main content

Hotel Reservation System CVE-2025-60308

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

Attack ChainAIDerived

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

  1. Recon
    Authenticate with low-privilege account
  2. Delivery
    Navigate to Add Room form
  3. Exploit
    Inject JavaScript payload in Description field
  4. Install
    Payload persists in database
  5. C2
    Admin views room listing page
  6. Execute
    Malicious script executes in admin browser
  7. Impact
    Session 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.

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

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

Alert me

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

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

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Rare
educational demo project, negligible production deployment footprint
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.2%
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

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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:fabian:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*
CVE-2024-6308 MEDIUM POC
6.9 Jun 25

A vulnerability was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2024-6116 MEDIUM POC
6.9 Jun 18

A vulnerability, which was classified as critical, has been found in itsourcecode Simple Online Hotel Reservation System

CVE-2024-6115 MEDIUM POC
6.9 Jun 18

A vulnerability classified as critical was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated mediu

CVE-2023-1561 CRITICAL
9.8 Mar 22

A vulnerability, which was classified as critical, was found in code-projects Simple Online Hotel Reservation System 1.0

CVE-2025-6421 MEDIUM POC
5.5 Jun 21

A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci

CVE-2025-6420 MEDIUM POC
5.5 Jun 21

A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci

CVE-2025-6419 MEDIUM POC
5.5 Jun 21

CVE-2025-6419 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe

CVE-2025-13170 MEDIUM POC
5.5 Nov 14

A vulnerability was detected in code-projects Simple Online Hotel Reservation System 1.0.php. Rated medium severity (CVS

CVE-2025-6578 MEDIUM POC
5.5 Jun 24

CVE-2025-6578 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System version 1.0 affecting

CVE-2025-6451 MEDIUM POC
5.5 Jun 22

CVE-2025-6451 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version

CVE-2025-6450 MEDIUM POC
5.5 Jun 22

CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version

CVE-2025-6449 MEDIUM POC
5.5 Jun 22

CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /ad

References

Advisories & patches

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