CVE-2026-70371

Koha - SQL Injection in reports/issues_avg_stats.pl

State
Published
Severity
8.8 High
Published
Aug 4, 2026
Updated
Aug 10, 2026
Reserved
Aug 4, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HTuranSec
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
KohaKoha Community
  • 24.11.17 and earlierAffected
  • 25.05.00 through 25.05.12Affected
  • 25.11.00 through 25.11.06Affected
  • 26.05.00 through 26.05.01Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.