Kimai 2 vulnerable to persistent cross-site scripting in the timesheet descriptions
Impact
Kimai 2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts into timesheet descriptions. Attackers can insert SVG-based XSS payloads in the description field to execute arbitrary JavaScript when the page is loaded and viewed by other users.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.1Ecosystem versions | 1.1 |
Version evidence: OSV · GHSA-9278-6hcj-2p4j
View original version evidence (13 explicit versions)
Original source description
Kimai 2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts into timesheet descriptions. Attackers can insert SVG-based XSS payloads in the description field to execute arbitrary JavaScript when the page is loaded and viewed by other users.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2019-25317
- Patch github.com/kevinpapst/kimai2/pull/962
- Patch github.com/kimai/kimai/commit/a0e8aa3a435717187fb12210242dab1b7c97ff3f
- Source reference github.com/kevinpapst/kimai2
- Source reference github.com/kimai/kimai
- Public exploit reference www.exploit-db.com/exploits/47286
- Security advisory www.vulncheck.com/advisories/kimai-persistent-cross-site-scripting-xss