CVE-2019-25317 Kimai 2- persistent cross-site scripting (XSS)

Medium 5.1 Published Updated

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.

PackageAffectedFixed in
kimai/kimai PackagistAll versions1.1
kimai/kimai PackagistAll versions1.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.

Sources

Also known as GHSA-9278-6hcj-2p4j.

Is CVE-2019-25317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free