Skip to content
OpenAdvisories
High · 8.8 CVE-2026-70371 EUVD-2026-52673GHSA-24c7-g2cg-jw93

Koha - SQL Injection in reports/issues_avg_stats.pl

Published Aug 4, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

Koha's reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Line and Column parameters are not validated against any whitelist and land verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY), and each Filter slot is concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments with no bound parameters.

Affected products

VendorProductAffectedFixed
Koha Community Koha ≤ 24.11.17, 25.05.00 – ≤ 25.05.12, 25.11.00 – ≤ 25.11.06, 26.05.00 – ≤ 26.05.01 —

References