School Management System PHP Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in School Management System PHP version 1.0. The issue resides in the login.php file, specifically within the password parameter.

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. This could lead to session hijacking, theft of authentication cookies, phishing attacks, data theft, and manipulation of displayed content.

Reproduction

To reproduce this vulnerability, log into the application and intercept the login request using Burp Suite. After forwarding the request and receiving an error response, send the intercepted request to the repeater. Modify the request by injecting an XSS payload into the error parameter. Send the modified request and observe the response. The injected script will execute, demonstrating the cross-site scripting vulnerability.

Remediation

To mitigate this vulnerability, implement input validation to sanitize user inputs, escape special characters, and encode user input before displaying it in the browser. Additionally, consider applying a Content Security Policy (CSP) to restrict the execution of inline scripts.

Added: Nov 3, 2025, 3:17 PM
Updated: Nov 3, 2025, 4:34 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
6.0
exploitability
7.7
remediation
7.9
relevance
0.9
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.