{"id":"CVE-2026-40479","published":"2026-04-17T22:31:29Z","modified":"2026-04-20T16:16:41Z","title":"Kimai: Stored XSS via Incomplete HTML Attribute Escaping in Team Member Widget","vendor":"kimai","product":"kimai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00215,"percentile":0.12193,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-g82g-m9vx-vhjg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/releases/tag/2.53.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":2.44},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"kimai","affectedVersions":[{"vendor":"kimai","product":"kimai","versions":[">= 1.16.3, < 2.53.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T16:09:41.078275Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"kimai/kimai","vulnerableRanges":["<2.53.0"],"patched":["2.53.0"],"from":["GHSA-g82g-m9vx-vhjg"],"provenance":"source"}],"summary":{"text":"Kimai, the open-source time tracking application, contains a stored cross-site scripting flaw in its team member widget, where the escapeForHtml() function in KimaiEscape.js fails to neutralise double and single quote characters in a user's profile alias before it is inserted into an HTML attribute and rendered via innerHTML. An attacker holding a low-privilege authenticated account can store a crafted alias that runs JavaScript in the browser of an administrator who views the team form, which requires that administrator to interact with that page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:33Z"},"euvd":{"id":"EUVD-2026-23575","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-4596","published":"2024-05-07","fixed":"2.16.0","kev":false},{"cve":"CVE-2026-23626","published":"2026-01-18","fixed":"2.46.0","kev":false},{"cve":"CVE-2026-28685","published":"2026-03-06","fixed":"2.51.0","kev":false,"link":{"from":"CVE-2026-28685","to":"CVE-2026-40479","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:kimai/kimai","fromFixed":"2.51.0","toFixed":"2.53.0","daysApart":42}]}},{"cve":"CVE-2026-40479","published":"2026-04-17","fixed":"2.53.0","kev":false},{"cve":"CVE-2026-40486","published":"2026-04-17","fixed":"2.53.0","kev":false},{"cve":"CVE-2026-41498","published":"2026-05-08","fixed":"2.54.0","kev":false},{"cve":"CVE-2026-42267","published":"2026-05-08","fixed":"2.54.0","kev":false}],"package":"Packagist:kimai/kimai"}}