CVE-2026-40479 | Kimai up to 2.52.x KimaiEscape.js escapeForHtml cross site scripting (GHSA-g82g-m9vx-vhjg)
VulDBArchived Apr 18, 2026✓ Full text saved
A vulnerability was found in Kimai up to 2.52.x . It has been classified as problematic . Affected is the function escapeForHtml of the file KimaiEscape.js . The manipulation leads to cross site scripting. This vulnerability is documented as CVE-2026-40479 . The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358182 · CVE-2026-40479 · GHSA-G82G-M9VX-VHJG
KIMAI UP TO 2.52.X KIMAIESCAPE.JS ESCAPEFORHTML CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.4 $0-$5k 0.76+
Summaryinfo
A vulnerability was found in Kimai up to 2.52.x. It has been declared as problematic. Affected by this vulnerability is the function escapeForHtml of the file KimaiEscape.js. The manipulation results in cross site scripting. This vulnerability is reported as CVE-2026-40479. The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability classified as problematic has been found in Kimai up to 2.52.x. Affected is the function escapeForHtml of the file KimaiEscape.js. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity. CVE summarizes:
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 advisory is available at github.com. This vulnerability is traded as CVE-2026-40479 since 04/13/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.
Upgrading to version 2.53.0 eliminates this vulnerability. The upgrade is hosted for download at github.com.
Productinfo
Name
Kimai
Version
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
2.16
2.17
2.18
2.19
2.20
2.21
2.22
2.23
2.24
2.25
2.26
2.27
2.28
2.29
2.30
2.31
2.32
2.33
2.34
2.35
2.36
2.37
2.38
2.39
2.40
2.41
2.42
2.43
2.44
2.45
2.46
2.47
2.48
2.49
2.50
2.51
2.52
Website
Product: https://github.com/kimai/kimai/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.4
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: Kimai 2.53.0
Timelineinfo
04/13/2026 CVE reserved
04/18/2026 +5 days Advisory disclosed
04/18/2026 +0 days VulDB entry created
04/18/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-g82g-m9vx-vhjg
Status: Confirmed
CVE: CVE-2026-40479 (🔒)
GCVE (CVE): GCVE-0-2026-40479
GCVE (VulDB): GCVE-100-358182
Entryinfo
Created: 04/18/2026 09:24
Changes: 04/18/2026 09:24 (66)
Complete: 🔍
Cache ID: 99:A41:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸