# Exploit Title: Cyber Cafe Management System Project (CCMS) 1.0 - Persistent Cross-Site Scripting  
# Date: 04-12-2020  
# Exploit Author: Pruthvi Nekkanti  
# Vendor Homepage:  
# Product link:  
# Version: 1.0  
# Tested on: Kali Linux  
Attack vector:  
This vulnerability can results attacker to inject the XSS payload in admin username and each time any user will visits the website, the XSS triggers and attacker can able to steal the cookie according to the crafted payload.  
Vulnerable Parameters: Admin Username.  
1. Go to the Product admin panel change the admin username  
2. Put this payload in admin username field:"><script>alert(document.cookie)</script>  
3. Now go to the website and the XSS will be triggered.