PHP Timeclock Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in PHP Timeclock version 1.04. This vulnerability allows unauthenticated attackers to inject arbitrary JavaScript by manipulating URL paths and POST parameters. The affected endpoints include login.php, timeclock.php, audit.php, and timerpt.php. Additionally, the from_date and to_date parameters in report requests can be exploited to execute scripts in user browsers.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, navigate to a site using PHP Timeclock 1.04 or earlier. For reflected XSS via GET requests, append a payload to the URL of one of the vulnerable endpoints. For reflected XSS via POST requests, intercept a report request using a proxy tool like BurpSuite and inject a payload into the from_date or to_date fields.

Added: May 15, 2026, 7:41 PM
Updated: May 15, 2026, 7:41 PM

Vulnerability Rating

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