{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46245","id":"CVE-2023-46245","title":"Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File","description":"Kimai is a web-based multi-user time-tracking application. Versions prior to 2.1.0 are vulnerable to a Server-Side Template Injection (SSTI) which can be escalated to Remote Code Execution (RCE). The vulnerability arises when a malicious user uploads a specially crafted Twig file, exploiting the software's PDF and HTML rendering functionalities. Version 2.1.0 enables security measures for custom T","descriptionLong":"Kimai is a web-based multi-user time-tracking application. Versions prior to 2.1.0 are vulnerable to a Server-Side Template Injection (SSTI) which can be escalated to Remote Code Execution (RCE). The vulnerability arises when a malicious user uploads a specially crafted Twig file, exploiting the software's PDF and HTML rendering functionalities. Version 2.1.0 enables security measures for custom Twig templates.","published":"2023-10-31T15:06:23.359Z","updated":"2026-10-28T02:30:51.289832507Z","reserved":"2023-10-19T20:34:00.948Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["kimai"],"affectedProducts":[{"vendor":"kimai","product":"kimai","defaultStatus":null,"versions":[{"version":"< 2.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"kimai/kimai","purl":"pkg:composer/kimai/kimai","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-fjhg-96cp-6fcw"}],"cwes":["CWE-1336"],"aliases":["GHSA-fjhg-96cp-6fcw"],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46245.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46245","tags":["advisory"]},{"url":"https://github.com/kimai/kimai","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01799,"epssPercentile":0.78956,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46245","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46245","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46245","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fjhg-96cp-6fcw","ok":true,"note":"GHSA-fjhg-96cp-6fcw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46245","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}