Code-Projects Payroll Management System Cross-Site Scripting Vulnerability in Home Employee PHP

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Payroll Management System version 1.0. The issue resides in the file home_employee.php, where the division parameter is not properly sanitized before being output, allowing for the injection of malicious scripts. This vulnerability can be exploited remotely and requires user interaction.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, send a GET request to home_employee.php with a crafted division parameter that includes the desired script payload. The injected script will be executed in the user's browser, demonstrating the cross-site scripting vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.4
exploitability
7.4
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

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