# CVE-2021-3985: Cross-site Scripting (XSS) - Stored in kevinpapst/kimai2

- Severity: High 8.0 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- 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.26%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-01T11:05:11.000Z
- Modified: 2026-06-17T04:06:20.547Z
- Also known as: GHSA-x68c-4gmm-5g43
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

kimai2 is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- kevinpapst kevinpapst/kimai2: from unspecified before 1.16.3
- kevinpapst/kimai2 (Packagist): before 1.16.3
- kimai kimai2: before 1.16.3

## Every score

- @huntrdev: CVSS:3.0 8.0 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 8.0 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/89d6c3de-efbd-4354-8cc8-46e999e4c5a4> (exploit, patch, third-party-advisory, web)
- <https://github.com/kevinpapst/kimai2/commit/76e09447c85e762882126b49626a4fe4d93fe8b5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3985> (advisory)
- <https://github.com/kevinpapst/kimai2> (package)
- <https://github.com/kevinpapst/kimai2/releases/tag/1.16.3> (web)

## Sources

- CVE List: [CVE-2021-3985](https://www.cve.org/CVERecord?id=CVE-2021-3985), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-x68c-4gmm-5g43](https://github.com/advisories/GHSA-x68c-4gmm-5g43), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3985](https://nvd.nist.gov/vuln/detail/CVE-2021-3985), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3985 · Whole record: https://cve.day/CVE-2021-3985.json · Rebuilt by cve.day 2026-11-25T22:58:05.794Z
