Code-Projects Online Examination System Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in Code-Projects Online Examination System version 1.0. The issue arises in the file account.php when the quiz page is accessed with specific URL parameters. The application fails to properly sanitize user input, allowing attackers to inject malicious scripts that are executed in the context of the user's browser session.

Impact

Exploitation of this vulnerability allows for the execution of arbitrary JavaScript in the context of the authenticated user, potentially leading to session hijacking, data theft, manipulation of page content, phishing attacks, or unauthorized actions on behalf of the user.

Reproduction

To reproduce this vulnerability, log into the application as a student and navigate to the quiz page. The vulnerability can be triggered by sending a GET request to account.php with the q, step, eid, n, and t parameters. The n parameter should be injected with a script payload, such as a JavaScript alert. The lack of output encoding in the form action attribute allows the injected script to be executed in the user's browser.

Added: Jul 19, 2026, 7:22 AM
Updated: Jul 19, 2026, 7:22 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.5
remediation
0.0
relevance
9.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.