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.
References (3)
Core 3
Core References
third-party-advisory
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368
third-party-advisory
https://koha-community.org/koha-25-05-12-released/
third-party-advisory
https://download.koha-community.org/koha-25.05.12.tar.gz
Scores
CVSS v3
8.8
EPSS
0.0031
EPSS Percentile
23.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (4)
Koha Community/Koha
< 24.11.17
Koha Community/Koha
25.05.00 - 25.05.12
Koha Community/Koha
25.11.00 - 25.11.06
Koha Community/Koha
26.05.00 - 26.05.01
Published
Aug 04, 2026
Tracked Since
Aug 04, 2026