ProjectsAndPrograms School Management System Reflected Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in version 1.0 of the ProjectsAndPrograms School Management System. The issue arises in the themeSet.php file, where user-supplied input in the theme POST parameter is not properly sanitized. This lack of input validation allows attackers to inject and execute arbitrary JavaScript in the browsers of affected users.

Impact

Exploitation of this vulnerability could lead to the execution of malicious scripts in the context of the user's browser. This could allow attackers to steal cookies and session tokens, manipulate the Document Object Model (DOM), redirect users, or perform unauthorized actions on behalf of logged-in users.

Reproduction

To reproduce this vulnerability, send a POST request to the themeSet.php file located in the assets directory of the school management system. Include a crafted theme parameter that exploits the lack of input sanitization by injecting JavaScript, such as a script tag with a payload.

Remediation

To address this vulnerability, it is recommended to sanitize and validate all user inputs, apply HTML entity encoding before output, and use modern frameworks that offer built-in protection against cross-site scripting.

Added: Aug 28, 2025, 2:24 PM
Updated: Aug 28, 2025, 2:24 PM

Vulnerability Rating

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