# CVE-2022-24708: Stored XSS vulnerability in anuko/timetracker

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2022-02-23T23:50:09.000Z
- Modified: 2026-06-17T04:32:20.483Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- anuko timetracker: < 1.20.0.5646
- anuko time_tracker: before 1.20.0.5646

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/anuko/timetracker/security/advisories/GHSA-rgcm-xgvj-5mqh> (third-party-advisory)
- <https://github.com/anuko/timetracker/commit/6aaad31630500d13b6c8459daa9f406fd5eb4330> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-24708](https://www.cve.org/CVERecord?id=CVE-2022-24708), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24708](https://nvd.nist.gov/vuln/detail/CVE-2022-24708), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24708 · Whole record: https://cve.day/CVE-2022-24708.json · Rebuilt by cve.day 2026-11-25T22:58:09.828Z
