CVE-2026-31844
Analyzed
Analyzed - Analysis Complete
Authenticated SQL Injection in Koha's suggestion.pl Exposes Data
Publication date: 2026-03-11
Last updated on: 2026-05-07
Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| koha | koha | From 24.11.0 (inc) to 24.11.12 (exc) |
| koha | koha | From 25.05.0 (inc) to 25.05.07 (exc) |
| koha | koha | 25.11.00 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | 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. |