Code-Projects Employee Management System Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in Code-Projects Employee Management System version 1.0. The issue arises in the file 'changepassemp.php', where the 'id' argument can be manipulated to inject attacker-controlled content. This injected content is executed as JavaScript in the context of the user's browser. The vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where injected JavaScript is executed in the victim's browser. This could lead to session hijacking, account takeover, or phishing by manipulating the user interface.

Reproduction

To reproduce this vulnerability, send a GET request to 'changepassemp.php' with a crafted 'id' parameter that includes JavaScript payloads, such as an event handler injection. The injected script will execute when the link is hovered over, demonstrating the cross-site scripting vulnerability.

Added: May 26, 2026, 8:14 PM
Updated: May 26, 2026, 8:14 PM

Vulnerability Rating

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