XXE leading to local file read

Affected versions

Description

Kimai was affected by an XML external entity issue through its use of PHPSpreadsheet for invoice import and export handling. In affected versions, a malicious spreadsheet template could trigger XML parsing behavior that allowed local file disclosure during invoice generation.

Exploitation required administrative access to upload a crafted XLSX template, but a successful attack could expose local files and, in edge cases, contribute to more severe outcomes.

This issue was related to spreadsheet template handling in the invoice workflow.

Users should update to 2.21.0 or newer.

Credits

First reported in GitHub advisory: GHSA-534c-hcr7-67jg

Top