CVE-2026-40479
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
kimai/kimaiPackagist | < 2.53.0 | 2.53.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/kimai/kimai/security/advisories/GHSA-g82g-m9vx-vhjgnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-g82g-m9vx-vhjgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40479ghsaADVISORY
- github.com/kimai/kimai/pull/2959ghsaWEB
- github.com/kimai/kimai/releases/tag/2.53.0nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.