# Exploit Title: Smart Hospital 3.1 - "Add Patient" Stored XSS
# Exploit Author: Kislay Kumar
# Date: 2020-12-18
# Vendor Homepage: https://smart-hospital.in/index.html
# Software Link: https://codecanyon.net/item/smart-hospital-hospital-management-system/23205038
# Affected Version: Version 3.1
# Tested on: Kali Linux
Step 1. Login to the application with Super Admin credentials
Step 2. Click on "OPD-Out Patient" and then click on "Add Patient" then
select "Add Patient" Again.
Step 3. Insert payload - "><svg/onmouseover=alert(1)> , in Name , Guardian
Name , Email , Address , Remarks and Any Known Allergies and Save it.
Step 4. Now the patient profile will open , when your course will move
around profile details they will show an alert box.Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation