SourceCodester Online Student Clearance System Cross-Site Scripting Vulnerability
Vulnerability
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Online Student Clearance System version 1.0. The issue arises in an unknown function of the file '/admin/add-admin.php', where the arguments 'txtusername', 'txtfullname', 'txtpassword', and 'txtpassword2' can be manipulated to inject malicious scripts. This vulnerability can be exploited remotely, potentially disrupting normal application functionality.
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 browser.
Reproduction
To reproduce this vulnerability, navigate to the '/admin/add-admin.php' page. Insert a payload, such as a script tag with an 'onload' event, into one of the vulnerable text fields ('txtusername', 'txtfullname', 'txtpassword', or 'txtpassword2'). Once the payload is submitted, the injected script will execute, demonstrating the cross-site scripting vulnerability.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
