CVE-2021-3983 Cross-site Scripting (XSS) - Stored in kevinpapst/kimai2
Attackers can inject malicious scripts into the Kimai time tracking application, potentially stealing user sessions or executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3983?
CVE-2021-3983 is a medium-severity cross-site scripting vulnerability in kevinpapst/kimai2, published on 1 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
kimai2 is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Weakness: CWE-79
Which versions are affected by CVE-2021-3983?
2 open source packages ship an affected version, including kevinpapst/kimai2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kevinpapst/kimai2 Packagist | All versions | 1.16.3 |
kevinpapst/kimai2 Packagist | All versions | 1.16.3 |
Products include Kimai2 Project Kimai2.
How do I fix CVE-2021-3983?
Upgrade kevinpapst/kimai2 to 1.16.3 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-2021-3983 being exploited?
There is no known exploitation of CVE-2021-3983 in the wild and no public exploit code.
Other vulnerabilities in kevinpapst/kimai2
Sources
Also known as GHSA-67c7-5v9j-227r.