# CVE-2021-43851: SQL injection vulnerability in anuko timetracker

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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): 1.20%, higher than 69% of CVEs (2026-12-01)
- Published: 2021-12-21T23:40:10.000Z
- Modified: 2026-06-17T04:11:34.283Z
- Weaknesses: CWE-89
- Assigned by: GitHub_M

## Description

Anuko Time Tracker is an open source, web-based time tracking application written in PHP. SQL injection vulnerability exist in multiple files in Time Tracker version 1.19.33.5606 and prior due to not properly checking of the "group" and "status" parameters in POST requests. Group parameter is posted along when navigating between organizational subgroups (groups.php file). Status parameter is used in multiple files to change a status of an entity such as making a project, task, or user inactive. This issue has been patched in version 1.19.33.5607. An upgrade is highly recommended. If an upgrade is not practical, introduce ttValidStatus function as in the latest version and start using it user input check blocks wherever status field is used. For groups.php fix, introduce ttValidInteger function as in the latest version and use it in the access check block in the file.

(As written by CVE List.)

## Affected

- anuko timetracker: < 1.19.33.5607
- anuko time_tracker: before 1.19.33.5607

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/anuko/timetracker/security/advisories/GHSA-wx6x-6rq3-pqcc> (third-party-advisory)
- <https://github.com/anuko/timetracker/commit/0cf32f1046418aa2e5218b0b370064820c330c6a> (patch, third-party-advisory)
- <https://github.com/anuko/timetracker/commit/94fda0cc0c9c20ab98d38ccc75ff040d13dc7f1b> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-43851 · Whole record: https://cve.day/CVE-2021-43851.json · Rebuilt by cve.day 2026-11-25T22:24:36.349Z
