code-projects Online Class and Exam Scheduling System
cpe:2.3:a:code-projects:online_class_and_exam_scheduling_system:*:*:*:*:*:*:*
- 1.0
A reflected cross-site scripting vulnerability has been identified in Code-Projects Online Class and Exam Scheduling System version 1.0. The issue resides in the file '/Scheduling/pages/class_sched.php', where the 'class' parameter can be manipulated to inject malicious scripts. This vulnerability can be exploited remotely.
Exploitation of this vulnerability allows for cross-site scripting attacks, where an attacker can inject malicious scripts that are executed in the context of the user's browser.
To reproduce this vulnerability, log into the backend of the application. Navigate to 'Print Schedule' and select 'Class'. Enter any input in the 'class' parameter. Capture the request and insert a script payload, such as a JavaScript alert, into the POST request. After sending the modified request, the injected script will execute, demonstrating the cross-site scripting vulnerability.
To mitigate this vulnerability, secure programming practices should be employed. This includes using frameworks that automatically escape output, such as PHP's htmlspecialchars function, to prevent script injection. Additionally, implementing HTTP-only cookies can help protect against XSS by restricting cookie access from client-side scripts.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.