Koha's reports/issues_stats.pl (the circulation statistics report) builds its calculation query in sub calculate by concatenating several user-controlled request parameters directly into the SQL string. The PeriodTypeSel, PeriodDaySel, and PeriodMonthSel parameters are interpolated raw into single-quoted equality and function-comparison fragments, and the Filter slots plus the Line and Column identifiers are likewise interpolated with no whitelist and no placeholder binding.
https://koha-community.org/koha-25-05-12-released/
https://download.koha-community.org/koha-25.05.12.tar.gz
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42735