CVE-2026-42267: Kimai - Stored XSS
- Cve: CVE-2026-42267
- Name: Kimai - Stored XSS
- Description: Kimai is an open-source time tracking application. From version 2.27.0 to before version 2.54.0, any ROLE_USER can create a tag with a formula string as its name (e.g. =SUM(54+51)) via POST /api/tags and assign it to a timesheet. When an admin exports timesheets to XLSX, ArrayFormatter.formatValue() joins tag names with implode() and returns the result unchanged. OpenSpout promotes any =-prefixed string to a FormulaCell, writing <f>SUM(54+51)</f> into the XLSX archive. Excel evaluates the formula when the file is opened. This issue has been patched in version 2.54.0.
- Impact: Attackers can execute arbitrary Excel formulas when admins open exported files, potentially leading to code execution or data manipulation.
- Remediation: Update to version 2.54.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Admin must export timesheets for formula execution
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.7
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.0022
- Epss percentile: 0.12578
- Assignee: [email protected]
- Published at: 2026-05-08T04:16:20Z
- Age in days: 200
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42267
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1236 | Improper Neutralization of Formula Elements in a CSV File |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r | nvd | 2026-05-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/kimai/kimai/security/advisories/GHSA-3xc2-h5r3-wv3r | nvd | Exploit, Mitigation, Vendor Advisory |
| https://github.com/kimai/kimai/releases/tag/2.54.0 | nvd | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kimai:kimai | >= 2.27.0, < 2.54.0 | no | nvd | /v1/products/kimai/kimai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| kimai/kimai | package, releases, security_advisory | yes | /v1/repositories/kimai/kimai |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-08
- Remote: yes
- Authentication required: yes
- Exposed hosts: 804
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports