Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Koha admin credentials
-
DeliveryAuthenticate to administration interface
-
ExploitInject XSS payload into checkinmsg field
-
InstallPayload persists in Koha database
-
C2Victim admin loads item type administration page
-
ExecuteMalicious script executes in victim's browser session
-
ImpactSession token or credentials exfiltrated
Vulnerability Assessment
| Weakness |
CWE
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 active administrator-level credentials on the Koha Library Management System - the CVE description specifies 'administrator privileges,' meaning this is not exploitable by unauthenticated users or low-privilege library patrons. The attacker must be able to reach and modify the item type administration page, specifically the checkinmsg field. For the XSS payload to execute, a separate victim (another authenticated user with access to the same administration interface) must subsequently load the affected page - user interaction is required (UI:R per CVSS). Exploitation is therefore bounded by: (1) possession of admin credentials, (2) the checkinmsg field being rendered without sanitization in the specific Koha version, and (3) at least one other user visiting the affected page. The CVSS PR:L rating conflicts with the description's 'administrator privileges' wording - defenders should treat PR:H as the realistic requirement until the vendor clarifies the exact privilege tier needed to modify item type check-in messages. |
| Impact | The reported CVSS 3.1 score of 5.4 (Medium) with vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N presents a notable internal inconsistency: the CVE description explicitly requires 'administrator privileges,' which aligns with PR:H rather than the reported PR:L. If PR:H were applied, the base score would drop to approximately 4.8, further reducing assessed severity. EPSS at 0.21% (12th percentile) confirms very low automated exploitation probability. SSVC classifies exploitation as 'poc' (proof-of-concept exists), automatable as 'no,' and technical impact as 'partial' - consistent with a targeted, manually executed attack chain requiring both admin credentials and a victim to visit the page (UI:R). No CISA KEV listing. Real-world risk is constrained by the requirement for administrator-level access and victim interaction; this is not a fire-drill priority for most organizations but warrants patching in environments where multiple administrators share a Koha instance, as a compromised admin account could use this to escalate impact to other staff sessions. The PR:L vs PR:H discrepancy in the reported CVSS vector is a data quality issue that security teams should flag when referencing this CVE. |
| Exploit ScenarioDerived | An attacker who has obtained Koha administrator credentials - whether through phishing, credential reuse, or insider access - navigates to the item type administration page and inserts a JavaScript payload (e.g., a cookie-stealing script pointing to an attacker-controlled server) into the check-in message field of any item type. When a library staff member or fellow administrator subsequently views or accesses that item type entry, the stored payload executes in their browser session, silently exfiltrating session tokens or redirecting the victim to a credential-harvesting page. A proof-of-concept exists per SSVC data, meaning the technique is documented and reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Stored cross-site scripting in Koha Library Management System through version 25.11 allows an authenticated administrator to permanently embed malicious JavaScript into the item type check-in message field (checkinmsg), which then executes in the browsers of other users who view the affected administration page. The scope change (S:C in CVSS) means the injected payload operates outside the attacker's own session, enabling session hijacking, credential theft, or DOM manipulation targeting library staff. A proof-of-concept is confirmed by SSVC intelligence data; no confirmed active exploitation or CISA KEV listing at time of analysis.
RemediationAI
No vendor-released patch with a specific fix version has been identified in the available intelligence data; consumers should monitor the Koha project's release channel at http://koha.com and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-50767 for a patched release. As an immediate compensating control, organizations should restrict access to the item type administration page to the minimum number of trusted accounts, reducing the attack surface from insider or compromised-credential scenarios. Implementing a strict Content Security Policy (CSP) header that disallows inline script execution will significantly mitigate stored XSS impact even if the injection vector persists, though this may require testing against Koha's legitimate inline JavaScript usage. Auditing existing checkinmsg field values for suspicious script content (e.g., tags containing 'script', 'onerror', 'onload') should be performed immediately to detect any pre-existing injected payloads. Reference the researcher's write-up at https://lgnas.gitbook.io/findings/cve-2026-50767 for technical detail that may inform sanitization testing.
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
CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) describes the root cause: user-supplied input written to the checkinmsg field of the item type administration interface is persisted to the database and later rendered in the browser without adequate output encoding or Content Security Policy enforcement. Because the XSS is stored rather than reflected, the payload survives across sessions and executes for every subsequent user who loads the affected page, making it categorically more dangerous than reflected variants. Koha is an open-source Integrated Library System (ILS) written primarily in Perl, widely used by public and academic libraries. The CPE data returned by NVD is non-specific (cpe:2.3:a:n/a:n/a), indicating that Koha has not yet been formally CPE-catalogued in the NVD database at the time of this advisory; the affected version ceiling of 25.11 is sourced directly from the CVE description.
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
CVE description explicitly requires administrator privileges, warranting PR:H over the reported PR:L; all other metrics from the provided vector are retained as consistent with stored XSS scope change.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability in the item type administration page of Koha Library Management System through 25.11 allows an authenticated remote attacker with administrator privileges to inject arbitrary web scripts via the item type check-in message field (checkinmsg)
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-39942
GHSA-295j-qvpp-jrgp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB