CVE-2026-40479CWE-79

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

Medium · published April 17, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00248 · 15.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-04-17T22:31Z
EPSS history
Timeline
  • 17 APR 22:31Z
    Kimai: Stored XSS via Incomplete HTML Attribute Escaping in Team Member Widget
    cvelistv5