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.
References
| Link | Resource |
|---|---|
| https://github.com/kimai/kimai/releases/tag/2.53.0 | Product Release Notes |
| https://github.com/kimai/kimai/security/advisories/GHSA-g82g-m9vx-vhjg | Exploit Vendor Advisory |
Configurations
History
27 Apr 2026, 19:38
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Kimai
Kimai kimai |
|
| References | () https://github.com/kimai/kimai/releases/tag/2.53.0 - Product, Release Notes | |
| References | () https://github.com/kimai/kimai/security/advisories/GHSA-g82g-m9vx-vhjg - Exploit, Vendor Advisory | |
| CPE | cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:* |
17 Apr 2026, 23:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-17 23:16
Updated : 2026-04-27 19:38
NVD link : CVE-2026-40479
Mitre link : CVE-2026-40479
CVE.ORG link : CVE-2026-40479
JSON object : View
Products Affected
kimai
- kimai
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
