CVE-2026-70371

HIGH

Koha: SQL Injection in reports/issues_avg_stats.pl

Title source: cna
STIX 2.1

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.

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