CVE-2026-41921 Koha Stored XSS via Purchase Suggestion Handler
Authenticated staff users can inject malicious scripts via purchase suggestions, leading to script execution in other staff browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-41921?
CVE-2026-41921 is a medium-severity cross-site scripting vulnerability in Koha, published on 18 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-41921?
How do I fix CVE-2026-41921?
No fix has been published for CVE-2026-41921 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-41921 being exploited?
There is no known exploitation of CVE-2026-41921 in the wild and no public exploit code.
Sources
Also known as GHSA-w5c5-88rv-x3v2.