Skip to main content

Koha LMS CVE-2026-50767

| EUVDEUVD-2026-39942 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-26 mitre GHSA-295j-qvpp-jrgp
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Recon
    Obtain Koha admin credentials
  2. Delivery
    Authenticate to administration interface
  3. Exploit
    Inject XSS payload into checkinmsg field
  4. Install
    Payload persists in Koha database
  5. C2
    Victim admin loads item type administration page
  6. Execute
    Malicious script executes in victim's browser session
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
open-source ILS used primarily by libraries, niche sector
Data Quality
6 sources
Confidence: High

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.2%
Patch available No
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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