CVE-2026-40479

MEDIUM

Kimai: Stored XSS via Incomplete HTML Attribute Escaping in Team Member Widget

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/kimai/kimai/releases/tag/2.53.0

Scores

CVSS v3 5.4
EPSS 0.0021
EPSS Percentile 10.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
kimai/kimai < 2.53.0
kimai/kimai 0 - 2.53.0Packagist
kimai/kimai >= 1.16.3, < 2.53.0
Published Apr 17, 2026
Tracked Since Apr 18, 2026