CVE-2026-26378

Published Jun 3, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
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

Analysis

AI-generated

Technical impact

The flaw is a stored cross‑site scripting weakness in the file upload function of Koha 25.11 and earlier. An attacker can upload a file that contains malicious JavaScript, which is then rendered when an invoice including that file is viewed. The injected code runs in the browsers of all users who open the invoice, allowing them to execute arbitrary client‑side actions. This is a CWE‑79 type vulnerability.

Affected Systems

Koha library management system, versions 25.11 and all earlier releases that enable file uploads within the Invoice module. The vulnerability is present whenever the file upload feature for invoices is available, regardless of user authentication level.

Risk and Exploitability

The attack requires an attacker to create a malicious file and a victim user to view the invoice containing that file. The likely attack vector is web‑based interaction with the invoice page and user interaction is required for exploitation. The EPSS score of < 1% indicates a very low probability of exploitation, though the potential for client‑side code execution still poses a meaningful risk. This flaw is not listed in the CISA KEV catalog, but it warrants remediation because it allows arbitrary JavaScript to run in users’ browsers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Koha update past version 25.11 that removes the file upload XSS defect.
  • If no update is immediately available, block the invoice file upload capability or enforce strict file type validation to prevent malicious content from being uploaded.
  • Sanitize the uploaded files and the content rendered on invoice pages to eliminate executable scripts, following standard XSS mitigation practices.

Generated by OpenCVE AI on June 4, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Koha
Koha koha
CPEs cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
Vendors & Products Koha
Koha koha
Type Values Removed Values Added
Title Stored Cross‑Site Scripting via Invoice File Upload in Koha 25.11 and Earlier
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Stored Cross‑Site Scripting via Invoice File Upload in Koha 25.11 and Earlier
Weaknesses CWE-79
Type Values Removed Values Added
First Time appeared Koha-community
Koha-community koha
Vendors & Products Koha-community
Koha-community koha
Type Values Removed Values Added
Description 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
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 4, 2026, 12:29 PM
Reserved
Feb 16, 2026, 12:00 AM
Status
Analyzed
Published
Jun 3, 2026, 7:16 PM
Modified
Jul 22, 2026, 8:10 PM