Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise staff account
-
DeliverySubmit suggestion with script payload in title/note field
-
ExploitPayload stored without sanitization
-
ExecutionVictim staff user views suggestion list
-
PersistInjected script executes in victim's browser
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-62183
GHSA-w5c5-88rv-x3v2
NVD
CVE.org
EPSS
Exploit-DB