SourceCodester Best Salon Management System Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Best Salon Management System version 1.0. The issue arises in the Update Staff Page component, specifically within the file '/panel/edit-staff.php'. The vulnerability is triggered by manipulating the 'Staff Name' argument, allowing remote attackers to execute scripts in the context of the user's browser.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's session.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the 'Edit Staff' page. Once there, manipulate the 'Staff Name' input field by entering a payload that includes script elements. Upon submission, the injected script will be executed, demonstrating the cross-site scripting vulnerability.

Added: Jul 7, 2025, 7:19 PM
Updated: Jul 7, 2025, 7:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.3
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.