---
id: CVE-2026-70373
title: >-
  Koha's reports/issues_stats.pl (the circulation statistics report) builds its
  calculation query in sub calculate by concatenating several user-controlled
  request parameters directly into the SQL string
summary: >-
  Koha's reports/issues_stats.pl (the circulation statistics report) builds its
  calculation query in sub calculate by concatenating several user-controlled
  request parameters directly into the SQL string. The PeriodTypeSel,
  PeriodDaySel, a…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
published: '2026-08-04'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70373'
references:
  - url: 'https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42735'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://download.koha-community.org/koha-25.05.12.tar.gz'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://koha-community.org/koha-25-05-12-released/'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.00567
epssPercentile: 0.44687
ingestedAt: '2026-08-10T12:39:47.580Z'
---

## Overview

Koha's reports/issues_stats.pl (the circulation statistics report) builds its calculation query in sub calculate by concatenating several user-controlled request parameters directly into the SQL string. The PeriodTypeSel, PeriodDaySel, and PeriodMonthSel parameters are interpolated raw into single-quoted equality and function-comparison fragments, and the Filter slots plus the Line and Column identifiers are likewise interpolated with no whitelist and no placeholder binding.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
