CVE-2019-25317 Kimai 2- persistent cross-site scripting (XSS)
Attackers can inject malicious scripts into timesheet descriptions, leading to arbitrary JavaScript execution when viewed by other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-25317?
CVE-2019-25317 is a medium-severity cross-site scripting vulnerability in kevinpapst Kimai, published on 11 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2019-25317?
2 open source packages ship an affected version, including kimai/kimai. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kimai/kimai Packagist | All versions | 1.1 |
kimai/kimai Packagist | All versions | 1.1 |
Products include Kimai Kimai.
How do I fix CVE-2019-25317?
Upgrade kimai/kimai to 1.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-25317 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25317 exists.
Other vulnerabilities in kevinpapst Kimai
- CVE-2020-19825 Cross-site Scripting in kimai/kimai
- CVE-2023-53957 Kimai 1.30.10 SameSite Cookie Vulnerability Session Hijacking
- CVE-2021-43515 Improper Neutralization of Formula Elements in a CSV File in Kimai 2
- CVE-2023-46245 Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File
- CVE-2026-23626 Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)
Sources
Also known as GHSA-9278-6hcj-2p4j.