CVE-2021-47967 PHP Timeclock 1.04 Multiple Cross-Site Scripting via Parameters

Medium 5.1 Published Updated

Unauthenticated attackers can inject arbitrary JavaScript into PHP Timeclock via URL paths and POST parameters, potentially executing scripts in user browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-47967?

CVE-2021-47967 is a medium-severity cross-site scripting vulnerability in PHP Timeclock, published on 15 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

PHP Timeclock 1.04 contains multiple cross-site scripting vulnerabilities that allow unauthenticated attackers to inject arbitrary JavaScript by manipulating URL paths and POST parameters. Attackers can append malicious payloads to login.php, timeclock.php, audit.php, and timerpt.php endpoints, or inject code through from_date and to_date parameters in report requests to execute scripts in user browsers.

Weakness: CWE-79

Which versions are affected by CVE-2021-47967?

How do I fix CVE-2021-47967?

No fix has been published for CVE-2021-47967 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-47967 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47967 exists.

Sources

Also known as GHSA-9cv2-qjw6-qv9j.

Is CVE-2021-47967 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free