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 the file '/admin/add-student.php', where the 'Fullname' argument can be manipulated to inject malicious scripts. This vulnerability can be exploited remotely, and while the primary parameter affected is 'Fullname', other parameters may also be vulnerable.

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, send a request to '/admin/add-student.php' with a payload in the 'Fullname' parameter that includes JavaScript code, such as an SVG image with an 'onload' event. The injected script will be executed, demonstrating the cross-site scripting vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.0
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.