CVE-2026-50767: Koha Library Management System stored XSS in item type administration page

CVE-2026-50767 · Severity: info · CVSS 0 · Published 2026-06-26

Koha is an open-source system used by libraries to manage book catalogs, circulation, and member records. A security flaw in the administrative interface allows a user with administrative access to plant malicious scripts within the 'check-in message' field of an item type. If another staff member views the affected administration page, the script could execute in their browser, potentially leading to unauthorized actions or the theft of sensitive session information.

Technologies: Koha Community Koha. Vendors: Koha Community.

Quick answers

Is CVE-2026-50767 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-50767 being exploited in the wild.
How severe is CVE-2026-50767?
Informational severity, with a CVSS score of 0, published 26 June 2026.
Which products and versions are affected?
Koha Community Koha through 25.11.
Is there a fix for CVE-2026-50767?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-50767 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-50767?
Check whether you run Koha Community Koha at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in the item type administration page of Koha Library Management System through version 25.11. The root cause is an incorrect Template Toolkit filter chain in 'admin/itemtypes.tt' (specifically line 508 in v25.11) that uses '| html_line_break | $raw'. Because '$raw' bypasses HTML encoding and 'html_line_break' only converts newlines to tags without sanitizing special characters, arbitrary HTML and JavaScript can be injected into the 'checkinmsg' field. An authenticated attacker with administrator privileges can exploit this to execute scripts in the context of other staff members' sessions. The recommended fix is to update the filter chain to '| html | html_line_break' to ensure proper encoding before rendering.

Affected products

  • Koha Koha Library Management System through 25.11

Timeline

  • 2026-06-26: disclosed: CVE-2026-50767 published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.