Code-Projects Online Reviewer System Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in Code-Projects Online Reviewer System in PHP, version 1.0. The issue resides in the file '/system/system/students/assessments/databank/btn_functions.php', where user input in the 'description' parameter is not properly validated or encoded before being saved to the database. This unfiltered input is later displayed in the application interface, allowing attackers to inject malicious HTML or JavaScript. Exploitation of this vulnerability could lead to session hijacking or unauthorized actions within the application.

Impact

Exploitation of this vulnerability allows for the execution of injected JavaScript in the browsers of users viewing the affected content. This could result in the theft of authentication cookies, hijacking of administrator sessions, and unauthorized actions within the application. Additionally, injected content could disrupt exam questions or facilitate phishing attacks against users.

Reproduction

To reproduce this vulnerability, log into the application as an administrator and navigate to the question update page. Intercept the update request using a tool like Burp Suite. Insert a malicious payload, such as a JavaScript injection, into the 'description' parameter and submit the request. When the question is viewed later, the injected script will execute, demonstrating the cross-site scripting vulnerability.

Remediation

It is recommended to sanitize and validate user input before storing it in the database, use prepared statements for database queries to prevent injection attacks, and implement output encoding to ensure that user-generated content is safely displayed in the application interface.

Added: Mar 27, 2026, 8:22 PM
Updated: Mar 27, 2026, 8:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.3
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.