CVE-2019-15481 Kimai v2 is vulnerable to Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

An attacker can inject malicious scripts into timesheet descriptions in Kimai v2, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-15481?

CVE-2019-15481 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Aug 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Kimai v2 before 1.1 has XSS via a timesheet description.

Weakness: CWE-79

Which versions are affected by CVE-2019-15481?

2 open source packages ship an affected version, including kevinpapst/kimai2. It affects 1 product.

PackageAffectedFixed in
kevinpapst/kimai2 PackagistAll versions1.1
kevinpapst/kimai2 PackagistAll versions1.1

Products include Kimai Kimai 2.

How do I fix CVE-2019-15481?

Upgrade kevinpapst/kimai2 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-15481 being exploited?

There is no known exploitation of CVE-2019-15481 in the wild and no public exploit code.

Sources

Also known as GHSA-7v44-75jf-22gj.

Is CVE-2019-15481 in your software?

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

Check your SBOMs for free