vendor:
Employee Record System in PHP/MySQLi with Full Source Code
by:
Saeed Bala Ahmed (r0b0tG4nG)
3.1
CVSS
MEDIUM
Stored XSS
79
CWE
Product Name: Employee Record System in PHP/MySQLi with Full Source Code
Affected Version From: Version 1
Affected Version To: Version 1
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:employee_record_system_in_phpmysqli_with_full_source_code
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Parrot OS
2020
Employee Record System 1.0 – Multiple Stored XSS
Employee Record System 1.0 is vulnerable to multiple stored XSS. An attacker can exploit this vulnerability by logging in to the application with any valid user credentials, clicking on Add Employee, inputting malicious JavaScript code in all fields except phone number fields, and clicking on ADD RECORD to save the record. When the All Employees page is clicked, the stored XSS payloads are triggered. To view all stored XSS, the View Employee Icon must be clicked.
Mitigation:
Input validation should be used to prevent malicious code from being stored in the application. Additionally, the application should be configured to escape special characters in user input.