Skip to main content

Koha ILS EUVDEUVD-2026-62183

| CVE-2026-41921 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-18 disclosure@vulncheck.com GHSA-w5c5-88rv-x3v2
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise staff account
  2. Delivery
    Submit suggestion with script payload in title/note field
  3. Exploit
    Payload stored without sanitization
  4. Execution
    Victim staff user views suggestion list
  5. Persist
    Injected script executes in victim's browser
  6. Impact
    Exfiltrate session cookie or perform actions as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a valid Koha staff account with permission to submit purchase suggestions - this is a standard low-privilege staff role, not an administrative one. The victim must be another staff user (any privilege level) who views the purchase suggestion list after the malicious entry has been submitted. The vulnerability is present in the default Koha installation across the affected version ranges; no non-default configuration is required to be vulnerable. Exploitation is limited by: (1) the need for a pre-existing authenticated staff account, ruling out external unauthenticated attackers; (2) passive victim interaction - the victim must navigate to the suggestion list view; and (3) scope is confined to the library's internal staff web interface, not publicly exposed patron-facing pages.

Impact

The CVSS 4.0 score of 5.1 correctly captures the moderate but bounded risk. The attacker must hold a valid staff account (PR:L), meaning external, unauthenticated exploitation is not possible - this materially limits the attack surface to insider threat or compromised staff credentials. A victim staff user must then load the suggestion list page (UI:P), introducing a further dependency. The subsequent-system impact metrics SC:L/SI:L reflect realistic outcomes: session cookie exfiltration, CSRF-style actions performed as the victim, or redirection to phishing pages. Vulnerable-system confidentiality, integrity, and availability are all scored N, consistent with the server-side data remaining unaffected. There is no KEV listing and no public exploit code, so opportunistic mass exploitation is not a current concern. The primary real-world risk is lateral privilege escalation within a library's staff environment - a lower-privileged staff user targeting a library administrator's session. This is a meaningful but not critical priority.

Exploit ScenarioDerived

An authenticated staff user with permission to submit acquisition suggestions crafts a purchase suggestion containing a JavaScript payload in the title or note field - for example, an img tag with an onerror handler that exfiltrates the document cookie to an attacker-controlled endpoint. The payload is saved to the database without sanitization. When a library administrator or higher-privileged staff user navigates to the purchase suggestion list in their normal workflow, the stored script executes in their browser, silently forwarding their session token to the attacker, who can then replay it to impersonate the administrator. No public exploit code has been identified, but the technique is well-understood and trivial to reproduce given access to a staff account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Stored cross-site scripting in Koha's purchase suggestion handler allows any authenticated staff user to inject persistent malicious scripts into multiple unsanitized input fields, which then execute in the browsers of other staff users who view the suggestion list. Affected versions span three active release branches: 25.05.x before 25.05.13, 25.11.x before 25.11.07, and 26.05.x before 26.05.02, all of which have now received patched releases. No public exploit code or CISA KEV listing has been identified at time of analysis; the CVSS 4.0 score of 5.1 reflects limited subsequent-system impact and the requirement for both authenticated attacker access and passive victim interaction.

RemediationAI

Upgrade to the patched release corresponding to your active branch: Koha 25.05.13, 25.11.07, or 26.05.02. Release notes and download links are published at https://koha-community.org/koha-25-05-13-released/, https://koha-community.org/koha-25-11-07-released/, and https://koha-community.org/koha-26-05-02-released/. If immediate upgrade is not possible, a compensating control is to restrict staff-level access to the purchase suggestion submission feature (via Koha's permission system) to only highly trusted accounts, thereby reducing the pool of potential attackers - note this does not eliminate the vulnerability but limits who can trigger it. Additionally, enforcing a strict Content Security Policy (CSP) header that disallows inline scripts would prevent injected script execution in modern browsers, though CSP configuration in Koha requires web server tuning and should be tested for compatibility with legitimate Koha UI functionality before deployment.

Affected VersionsENISA

Koha 25.05.0 <25.05.13
Koha 25.11.0 <25.11.07
Koha 26.05.0 <26.05.02

Affected Packages

euvd koha fix: 25.05.13, 25.11.07, 26.05.02

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Koha is an open-source Integrated Library System (ILS) used by public, academic, and special libraries worldwide, delivered as a web application. The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant: the purchase suggestion save operation accepts HTML and script content in at least eight fields - title, author, isbn, publishercode, place, collectiontitle, itemtype, and note - without applying output encoding or input sanitization before persisting them to the database. The suggestion list template subsequently renders these stored values directly into the browser DOM, triggering injected scripts for any staff user who loads the page. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms the attack is network-reachable, low-complexity, requires low privilege (authenticated staff), and requires passive victim interaction.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Staff login required (PR:L), victim must view suggestions page (UI:R), scope changes as scripts run in other users' browsers (S:C), with limited session/action exposure (C:L/I:L).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 22:19 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source ILS deployed exclusively in library institutions
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy