CVE-2026-40479
Last modified
CVE-2026-40479 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Kimai is an open-source time tracking application. In versions 1.16.3 through 2.52.0, the escapeForHtml() function in KimaiEscape.js does not escape double quote or single quote characters. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
Kimai is an open-source time tracking application. In versions 1.16.3 through 2.52.0, the escapeForHtml() function in KimaiEscape.js does not escape double quote or single quote characters. When a user's profile alias is inserted into an HTML attribute context via the team member form prototype and rendered through innerHTML, this incomplete escaping allows HTML attribute injection. An authenticated user with ROLE_USER privileges can store a malicious alias that executes JavaScript in the browser of any administrator viewing the team form, resulting in stored XSS with privilege escalation. This issue has been fixed in version 2.53.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kimai | Kimai | < 2.53.0 |
References
- https://github.com/kimai/kimai/releases/tag/2.53.0Product, Release Notes
- https://github.com/kimai/kimai/security/advisories/GHSA-g82g-m9vx-vhjgExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40479?
How severe is CVE-2026-40479?
How do I fix CVE-2026-40479?
Are you affected by CVE-2026-40479?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
