---
id: CVE-2026-41921
title: >-
  Koha before 26.05.02, 25.11.07, and 25.05.13 contains a stored cross-site
  scripting vulnerability in the purchase suggestion handler that allows
  authenticated staff users to inject malicious scripts by submitting
  unsanitized input throug…
summary: >-
  Koha before 26.05.02, 25.11.07, and 25.05.13 contains a stored cross-site
  scripting vulnerability in the purchase suggestion handler that allows
  authenticated staff users to inject malicious scripts by submitting
  unsanitized input throug…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-08-18'
updated: '2026-08-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41921'
references:
  - url: 'https://koha-community.org/koha-25-05-13-released/'
    label: disclosure@vulncheck.com
  - url: 'https://koha-community.org/koha-25-11-07-released/'
    label: disclosure@vulncheck.com
  - url: 'https://koha-community.org/koha-26-05-02-released/'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/koha-stored-xss-via-purchase-suggestion-handler
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00298
epssPercentile: 0.20087
ingestedAt: '2026-08-22T13:32:36.952Z'
---

## Overview

Koha before 26.05.02, 25.11.07, and 25.05.13 contains a stored cross-site scripting vulnerability in the purchase suggestion handler that allows authenticated staff users to inject malicious scripts by submitting unsanitized input through the suggestion save operation. Attackers can supply crafted HTML or script content in fields such as title, author, isbn, publishercode, place, collectiontitle, itemtype, and note, which are stored without sanitization and later rendered in the suggestion list template, causing injected scripts to execute in the browser of any staff user who views the suggestions.

## Remediation

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