Skip to main content

Koha CVE-2026-26378

| EUVDEUVD-2026-34169 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-03 mitre GHSA-j9m8-fw2w-frcq
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Koha with low-privileged account
  2. Delivery
    Navigate to acquisitions Invoice module
  3. Exploit
    Upload file with malicious JavaScript payload
  4. Execution
    Payload stored server-side in invoice record
  5. Persist
    Higher-privileged user views invoice in browser
  6. Impact
    Injected 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.

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

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

Alert me

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

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

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

Vendor (mitre) PRIMARY 5.4 MEDIUM
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

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

Lifecycle Timeline

2
CVSS changed
Jun 04, 2026 - 14:22 NVD
5.4 (MEDIUM)
CVE Published
Jun 03, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.1%
Top 84% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.1%
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.

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.

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