9

CVE-2026-31844

Authenticated SQL Injection in Koha displayby parameter of suggestion.pl

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
KohaKoha Version >= 24.11.0 < 24.11.12
KohaKoha Version >= 25.05.0 < 25.05.07
KohaKoha Version25.11.00
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.44% 0.351
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c 8.7 0 0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c 9 8 10
AV:N/AC:L/Au:S/C:C/I:C/A:C
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41593
Issue Tracking
https://koha-community.gitlab.io/KohaAdvent/2025-12-09-security-all/
Not Applicable
https://koha-community.org/koha-25-11-01-released/
Release Notes