Description
An authenticated SQL Injection vulnerability (CWE-89) exists in the Koha staff interface in the /cgi-bin/koha/suggestion/suggestion.pl endpoint due to improper validation of the displayby parameter used by the GetDistinctValues functionality. A low-privileged staff user can inject arbitrary SQL queries via crafted requests to this parameter, allowing execution of unintended SQL statements and exposure of sensitive database information. Successful exploitation may lead to full compromise of the backend database, including disclosure or modification of stored data.
Problem types
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
24.11.0 (semver) before 24.11.12
25.05.0 (semver) before 25.05.07
25.11.0 (semver) before 25.11.01
Credits
Raximov Shukrulloh (Mothra)
References
bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593
koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/
koha-community.org/koha-25-11-01-released/