Code-Projects Exam Form Submission Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in the Code-Projects Exam Form Submission application, specifically in version 1.0. The issue resides in the '/admin/update_s7.php' file, where the 'sname' parameter is manipulated, allowing for the injection of malicious scripts. This vulnerability can be exploited remotely, with public proof-of-concept available.

Impact

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, session tokens, or other sensitive information, as well as performing actions on behalf of the user or redirecting them to malicious websites.

Reproduction

To reproduce this vulnerability, send a request to the '/admin/update_s7.php' endpoint with a crafted 'sname' parameter that includes script tags. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.

Remediation

It is recommended to encode user input before outputting it to the web page, validate and filter user input to reject or escape potentially malicious content, implement a strict Content Security Policy, set secure and HttpOnly flags for sensitive cookies, and conduct regular security audits.

Added: Mar 27, 2026, 3:18 AM
Updated: Mar 27, 2026, 3:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.6
remediation
0.0
relevance
4.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.