CVE-2019-25317 · VulnCheck
Kimai 2- persistent cross-site scripting (XSS)
Kimai 2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts into timesheet descriptions. Attackers can insert SVG-based XSS payloads in the description field to execute arbitrary JavaScript when the page is loaded and viewed by other users.
Published 2026-02-11, last changed 2026-10-08. Weakness: CWE-79.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-47286 |
How to fix
Upgrade to a fixed version: kimai/kimai 1.1 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in kevinpapst/kimai2 by pull request #962, a0e8aa3a43. Functions changed by the fix: markdownToHtml. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2026-02-11 | Published |
| 2026-02-11 | Package advisory GHSA-9278-6hcj-2p4j |
| 2026-10-08 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.06% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-9278-6hcj-2p4j | kimai/kimai (Packagist) | 1.1 |
Also known as: GHSA-9278-6hcj-2p4j
Credited: osamaalaa (finder)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-52828 | 2026-09-15 | 5.3 | Kimai: ExportTemplate CRUD Missing Authorization Check Allows Unauthorized TEAMLEAD Access |
| CVE-2026-52827 | 2026-09-15 | 7.1 | Kimai: Two-factor authentication bypass on the Kimai API |
| CVE-2026-52826 | 2026-09-15 | 5.3 | Kimai: Improper Authorization in Kimai Project, Customer, and Activity Rate Edit Endpoints Allows Cross-Scope Rate Manipulation |
| CVE-2026-52825 | 2026-09-15 | 5.3 | Kimai: Improper Authorization in Kimai Team Member and Team Activity Assignment APIs Allows Expansion of Team Scope Beyond Authorized Visibility |
| CVE-2026-52824 | 2026-09-15 | 9.1 | Kimai: Default APP_SECRET in Docker Image Enables Cookie Forgery and Account Takeover |
| CVE-2026-52823 | 2026-09-15 | 5.3 | Kimai: Login CSRF in Kimai Timesheet Stop and Restart API Endpoints Allows Unauthorized State Changes |
| CVE-2026-52822 | 2026-09-15 | 5.3 | Kimai: Improper Authorization in Kimai Timesheet Restart and Duplicate Allows New Timesheets After Project Access Revocation |
| CVE-2026-52821 | 2026-09-15 | 5.3 | Kimai: Improper Authorization in Kimai Activity Creation with Preset Project Allows Creation Under Unauthorized Projects |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2019-25317, or call /api/v1/vulnerabilities/CVE-2019-25317. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.