What’s Vulnerable › Vulnerabilities
CVE-2022-24708: Stored XSS vulnerability in anuko/timetracker
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-24 · updated 2026-06-17
- Weakness: CWE-79
Description
Anuko Time Tracker is an open source, web-based time tracking application written in PHP. ttUser.class.php in Time Tracker versions prior to 1.20.0.5646 was not escaping primary group name for display. Because of that, it was possible for a logged in user to modify primary group name with elements of JavaScript. Such script could then be executed in user browser on subsequent requests on pages where primary group name was displayed. This is vulnerability has been fixed in version 1.20.0.5646. Users who are unable to upgrade may modify ttUser.class.php to use an additional call to htmlspecialchars when printing group name.
Affected products
- anuko timetracker: before 1.20.0.5646 — fixed in 1.20.0.5646
How to fix
Upgrade to a fixed version: anuko timetracker 1.20.0.5646. Check the vendor advisory for mitigations.
References
- https://github.com/anuko/timetracker/commit/6aaad31630500d13b6c8459daa9f406fd5eb4330
- https://github.com/anuko/timetracker/security/advisories/GHSA-rgcm-xgvj-5mqh
- https://github.com/anuko/timetracker/commit/6aaad31630500d13b6c8459daa9f406fd5eb4330
- https://github.com/anuko/timetracker/security/advisories/GHSA-rgcm-xgvj-5mqh
Get alerted when CVE-2022-24708 or the next vulnerability affects your stack