kimai/kimai is vulnerable to SQL Injection
31
Low Risk
The SearchHelper class interpolates a user-controlled meta-field name from a search term directly into a Doctrine Query Language query without sanitization. When a search term is formatted as FIELDNAME:VALUE, the FIELDNAME portion is used as-is via string concatenation to build DQL subquery aliases. Any authenticated user can inject special characters to trigger query errors across search endpoints, manipulate the DQL string, and in development mode leak DQL structure and schema details through error responses. The fix generates the DQL identifier internally so no user input reaches the query string.
You are affected if you are using a version that falls within the vulnerable range.
kimai/kimai is vulnerable to SQL Injection in versions 0.0.1 - 2.59.0.
Upgrade the kimai/kimai library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant