Code-Projects School Fees Payment System Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in Code-Projects School Fees Payment System version 1.0, specifically within the '/student.php' file. This issue arises from inadequate validation of user input in the 'sname', 'contact', 'about', 'emailid', and 'transcation_remark' parameters. As a result, attackers can inject malicious scripts that are executed in the context of the user's browser, potentially leading to session hijacking and unauthorized access to sensitive information.

Impact

Exploitation of this vulnerability allows for persistent cross-site scripting, where injected scripts are executed automatically when the affected page is loaded, potentially leading to session hijacking and unauthorized actions on behalf of the user.

Reproduction

To reproduce this vulnerability, submit the 'sname', 'contact', 'about', 'emailid', and 'transcation_remark' fields on the '/student.php' page with script tags containing JavaScript code, such as 'alert()' calls. After submitting the form, the injected scripts will execute when the page is refreshed or when the 'edit' function is used. This vulnerability can also be triggered by accessing the 'Fee Detail' function on the '/report.php' page after injecting the scripts via the form.

Added: Jun 24, 2025, 3:38 PM
Updated: Jun 24, 2025, 3:38 PM

Vulnerability Rating

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