Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/xmyronn/cve-2026-10289-xss
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubxmyronn/cve-2026-10289-xss

CVE-2026-10289-XSS

Proof-of-concept for a stored XSS vulnerability in Hotel and Tourism Reservation System 1.0, demonstrating unauthenticated injection and admin session hijacking.

View Repository
3 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Hotel and Tourism Reservation System - Stored Cross-Site Scripting (XSS)

Vulnerability Details

FieldDetails
TitleHotel and Tourism Reservation System - Stored Cross-Site Scripting (XSS)
CVE IDPending Assignment
Vendorcode-projects.org
Vendor URLhttps://code-projects.org/hotel-and-tourism-reservation-in-php-with-source-code/
ProductHotel and Tourism Reservation System
Version1.0
Vulnerability TypeStored Cross-Site Scripting
CWECWE-79
CVSS Score8.3 (High)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Affected Endpoint (Injection)/ht/tour.php
Affected Endpoint (Trigger)/ht/admin/tour_reserves.php
Authentication RequiredNo (injection) / Yes (trigger)
Remote ExploitableYes
ResearcherSyed Imad Uddin Alvi

Description

A Stored Cross-Site Scripting (XSS) vulnerability exists in the tour booking functionality of Hotel and Tourism Reservation System 1.0. An unauthenticated attacker can inject arbitrary JavaScript into the booking form fields at /ht/tour.php. The malicious payload is stored in the database without sanitization. When an administrator visits the tour reservations management page at /ht/admin/tour_reserves.php, the stored payload executes in the admin's browser context — enabling session hijacking, credential theft, or full admin account takeover.


Affected Component

File: tour.php (injection point) File: admin/tour_reserves.php (execution point) Parameter: name , email , people , number / contact fields (POST) Storage: hotel_db — tour reservations table


Steps to Reproduce

Setup: Install Hotel and Tourism Reservation System 1.0 on XAMPP and access at http://<target>/ht/

Step 1 — Navigate to the tour booking page as an unauthenticated user:

root@kitploit:~
http://<target>/ht/tour.php?tour=4

Step 2 — Enter the XSS payload in the name field or in any field they all vuln to XSS , then click Book Now:

root@kitploit:~
<script>alert(1)</script>

Result: "Reservation successfully made!" — payload is now stored in the database.

Screenshot 2026-05-11 235058

Step 3 — Log in as admin and navigate to the tour reservations panel:

root@kitploit:~
http://<target>/ht/admin/tour_reserves.php

Result: The stored XSS payload executes immediately in the admin's browser context.

Screenshot 2026-05-11 235117

Impact

An unauthenticated attacker can:

  • Execute arbitrary JavaScript in the admin browser
  • Steal admin session cookies → full account takeover
  • Redirect admin to attacker-controlled phishing pages
  • Inject fake login forms to harvest credentials
  • Perform any admin action on behalf of the victim

Root Cause

The booking form at tour.php stores user input directly in the database without sanitization. The admin panel at tour_reserves.php echoes the stored value raw into the HTML response without output encoding, allowing injected scripts to execute.


Recommended Fix

root@kitploit:~
// On output — always encode before rendering
echo htmlspecialchars($reservation['name'], ENT_QUOTES, 'UTF-8');

References

  • CWE-79: Improper Neutralization of Input During Web Page Generation
  • OWASP: Cross-Site Scripting (XSS)
  • Hotel and Tourism Reservation System — code-projects.org

Discovered By

** Imad Alvi** — Independent Security Researcher GitHub: Xmyronn

Download Tool