code-projects Exam Form Submission
cpe:2.3:a:code-projects:exam_form_submission:*:*:*:*:*:*:*
- 1.0
A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Exam Form Submission version 1.0. The issue resides in the file '/admin/update_fst.php', where the 'sname' parameter is not properly validated or encoded before being output to users. This flaw allows attackers to inject malicious scripts that are executed in the context of the user's browser, potentially leading to the theft of cookies, session tokens, or other sensitive information.
Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser. This could lead to the theft of cookies or session tokens, defacement of web pages, redirection to malicious sites, or unauthorized actions performed on behalf of the user.
To reproduce this vulnerability, send a request to '/admin/update_fst.php' with a 'sname' parameter that includes a script tag. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.
It is recommended to implement proper input validation and output encoding for the 'sname' parameter. Additionally, a Content Security Policy (CSP) could be applied to restrict the execution of scripts.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.