Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Koha with low-privileged account
-
DeliveryNavigate to acquisitions Invoice module
-
ExploitUpload file with malicious JavaScript payload
-
ExecutionPayload stored server-side in invoice record
-
PersistHigher-privileged user views invoice in browser
-
ImpactInjected script executes in admin session context
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 | The attacker must hold a valid Koha account with at minimum low-level privileges sufficient to access the acquisitions module and submit file uploads via the Invoice feature (CVSS PR:L confirmed). A higher-privileged user must subsequently open or render the affected invoice entry in their browser session for the XSS payload to execute (CVSS UI:R confirmed). The vulnerability is specifically limited to the Invoice file upload functionality within the acquisitions module - Koha installations that do not use this module, or that restrict file upload access to fully trusted administrators only, significantly limit exposure. Exploitation is further constrained to Koha versions 25.11 and earlier; the attack is network-accessible (AV:N) and requires no elevated privileges beyond a basic authenticated session. |
| Impact | The CVSS Medium score of 5.4 reflects a moderate but constrained risk profile. The attack vector is Network (AV:N) with Low complexity (AC:L), but two mitigating factors reduce real-world severity: the attacker must hold at least a low-privileged account (PR:L), and a victim must interact with the malicious content (UI:R). Scope:Changed elevates the score because successful exploitation can compromise sessions of users in a different privilege tier, such as library administrators reviewing invoices. EPSS at 0.05% (16th percentile) signals very low observed exploitation probability, and there is no CISA KEV entry confirming active exploitation. The researcher blog post at g03m0n.github.io/posts/cve-2026-26378/ provides public disclosure details, raising the risk of future exploitation if weaponized. In practice, risk is highest in multi-tenant library systems where untrusted or external-vendor accounts have access to the acquisitions/invoice module. The discrepancy between the 'RCE' tag and the actual CWE-79 classification should be noted - defenders should not treat this as server-side RCE. |
| Exploit ScenarioDerived | An attacker with a low-privileged Koha account (e.g., a vendor portal account or a limited acquisitions staff login) uploads a file with a malicious filename or crafted file content containing JavaScript payloads to the Invoice feature. When a higher-privileged user - such as a library acquisitions manager or system administrator - opens or previews the invoice record, the injected script executes in their browser session, potentially stealing session cookies, performing actions on behalf of the admin, or redirecting to a credential-harvesting page. A researcher blog post at g03m0n.github.io/posts/cve-2026-26378/ documents this vulnerability, indicating technical details are publicly available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Stored Cross-Site Scripting in Koha 25.11 and earlier allows a remote authenticated attacker to inject and execute arbitrary JavaScript in victim browsers via the file upload function within the Invoice features module. The CVSS Scope:Changed designation indicates the injected script executes in a security context beyond the attacker's own session - targeting higher-privileged users (e.g., acquisitions staff or administrators) who subsequently view the affected invoice. A researcher blog post at g03m0n.github.io documents this vulnerability, suggesting public technical details are available. No public exploit identified at time of analysis, and EPSS at 0.05% (16th percentile) indicates low observed exploitation probability.
RemediationAI
Upgrade to a patched release of Koha beyond version 25.11; as of this analysis, an exact fixed release version has not been independently confirmed from the available reference data - monitor the official Koha release page at https://github.com/Koha-Community/Koha and the Koha community mailing lists for a tagged patch release. Until a patch is applied, restrict access to the acquisitions and invoice module to the minimum set of trusted accounts, removing or disabling upload permissions for any untrusted vendor or low-privileged user accounts - this directly removes the attacker's injection vector but may disrupt normal acquisitions workflows. Deploying a Web Application Firewall (WAF) rule to inspect and block file upload requests containing HTML/JavaScript content to the invoice endpoint is an additional compensating control, though WAF bypass via encoding is a known risk. Monitoring for unexpected script execution in library staff browser sessions can serve as a detection measure.
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) widely deployed by public, academic, and special libraries. The Invoice feature is part of Koha's acquisitions module, used to manage financial records and file attachments associated with vendor orders. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates the root cause is insufficient sanitization or encoding of user-supplied content - in this case, a filename or file content submitted via the upload function - before it is rendered back in the browser. The Scope:Changed (S:C) attribute in the CVSS vector confirms this is a stored or reflected XSS that crosses privilege boundaries: a lower-privileged user submits malicious input that is later rendered in the session of a higher-privileged user. The CPE data provided is unpopulated (n/a), so affected product enumeration relies solely on the CVE description. Note: the 'RCE' tag associated with this CVE refers to client-side JavaScript execution in the victim's browser context, not server-side remote code execution - the CVSS score of 5.4 and CWE-79 confirm this is browser-level code execution.
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
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Cross Site Scripting vulnerability in Koha 25.11 and before allows a remote attacker to execute arbitrary code via file upload function in Invoice features
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.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-34169
GHSA-j9m8-fw2w-frcq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB