Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Exploit Title: Human Resource Management System v1.0 - Normal user Apply leave "Reason" Parameter = Persistent XSS
# Exploit Author: Pratik Shetty
# Vendor Name: oretnom23
# Vendor Homepage: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html
# Software Link: https://www.sourcecodester.com/php/15740/human-resource-management-system-project-php-and-mysql-free-source-code.html
# Version: v1.0
# Tested on: Windows 10, Apache
# CVE: CVE-2022-3502
Description:
A Persistent XSS issue in Human Resource Management System v1.0 allows to inject Arbitrary JavaScript in "Reason" Parameter.
Parameter:
Leave Apply = Reason
Payload:
<script>prompt(1)</script>
Steps:
1) Login as a normal user
2) Now in that we can see an tab named "Leave" in that go to "Apply"
3) The Parameter "Reason" in this we put our payload.
Payload: <script>prompt(1)</script>
4) Now fill the other details and save the file
5) Go to "Application" and we can see that our Payload has been executed.