Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated Koha account with edit_items permission
-
DeliveryNavigate to item record for high-traffic title
-
ExploitInject XSS payload into items.itemnotes field
-
ExecutionVictim patron or staff browses OPAC item detail page
-
PersistPayload executes in victim's browser context
-
ImpactExfiltrate session token or perform action 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 an authenticated Koha account with the edit_items permission granted; unauthenticated or standard patron-level access is insufficient to inject the payload. A victim (patron or staff) must subsequently navigate to the OPAC item detail page for the poisoned item record - passive browsing of catalog results triggers the payload without any additional user action beyond page load. Exploitation is limited to the OPAC-facing interface; the Koha staff client rendering of the same field may or may not be affected and should be separately verified. The attack is not automatable at scale without first acquiring edit_items credentials. Non-default configuration is not required for the vulnerability itself, but the risk is elevated in deployments where edit_items is granted to a large or low-trust staff group. |
| Impact | The CVSS 5.4 Medium score is consistent with a stored XSS requiring low privilege (PR:L - edit_items permission) and passive victim interaction (UI:R - visiting the item detail page). The Scope Change (S:C) correctly elevates the base score since the exploit crosses trust boundaries into victims' browsers. EPSS at 0.21% (12th percentile) is very low, indicating this vulnerability has not attracted measurable exploit-tool coverage or threat actor attention at time of analysis. There is no CISA KEV listing and no confirmed public exploit code. The primary real-world risk is session hijacking of OPAC patrons or, more seriously, staff members who browse item records - the latter could enable privilege escalation within the Koha interface. The exploitation prerequisite of edit_items permission is a meaningful barrier: this is not a pre-authentication or default-user flaw. The combination of low EPSS, no KEV, and authenticated requirement places this as a lower-priority finding unless the affected library instance grants edit_items to a broad or untrusted staff population. |
| Exploit ScenarioDerived | A cataloging staff member or any user with edit_items permission logs into Koha and edits an item record for a popular title, inserting a JavaScript payload such as a session-cookie-stealing script into the item public notes field. When any OPAC patron - or a staff member browsing the catalog - views the item detail page for that title, the payload silently executes in their browser, potentially exfiltrating their session token to an attacker-controlled endpoint. No public proof-of-concept has been confirmed, but the attack technique is well-understood and straightforward for anyone familiar with basic XSS exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Stored cross-site scripting in Koha Library Management System's OPAC item detail page enables persistent script injection via the item public notes field (items.itemnotes), affecting all versions through 25.11. An authenticated attacker holding the edit_items permission can plant malicious JavaScript that executes in the browsers of any patron or staff member who subsequently views the affected item's detail page in the OPAC. No public exploit has been identified at time of analysis, and EPSS places exploitation probability at 0.21% (12th percentile), suggesting limited threat actor interest currently.
RemediationAI
No vendor-released patch with an exact fix version has been identified at time of analysis; the referenced vendor URL (http://koha.com) should be monitored for an official security advisory and patch release. As a compensating control, administrators should audit and restrict the edit_items permission to the minimum necessary staff accounts - removing this permission from untrusted or broadly-assigned roles eliminates the attack surface entirely, though it also restricts legitimate item editing workflows. Additionally, a Content Security Policy (CSP) header configured to disallow inline scripts on OPAC pages would prevent injected scripts from executing even if the input is not yet sanitized, though implementing CSP in Koha may require template customization. Input sanitization or output encoding of the items.itemnotes field at the template layer is the definitive fix and should be requested from the Koha development team via the project's bug tracker. See https://lgnas.gitbook.io/findings/cve-2026-50766 for researcher disclosure details.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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) whose OPAC (Online Public Access Catalog) is the public-facing web interface for library patrons to search and browse holdings. The items.itemnotes field stores free-text public notes attached to individual item records and is rendered in the OPAC item detail page. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates that user-supplied content in this field is not adequately sanitized or escaped before being output in an HTML context. The CVSS vector's S:C (Scope Changed) reflects that the injected script executes in the security context of the victim's browser - a different trust boundary than the Koha application server. CPE data in the source is listed as n/a:n/a, meaning NVD has not yet published a formally matched CPE string for the affected Koha versions; version scope is derived from the description (through 25.11).
Know when N A gets its next vulnerability
- 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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
PR:L reflects required edit_items permission; UI:R for passive victim page view; S:C because script executes in victim's browser trust boundary; no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability in the OPAC item detail page of Koha Library Management System through 25.11 allows an authenticated remote attacker with edit_items permission to inject arbitrary web scripts via the item public notes field (items.itemnotes).
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.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-39941
GHSA-vpm8-cwf9-2c7w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB