Description
Koha before 26.05.02, 25.11.07, and 25.05.13 contains a stored cross-site scripting vulnerability in the purchase suggestion handler that allows authenticated staff users to inject malicious scripts by submitting unsanitized input through the suggestion save operation. Attackers can supply crafted HTML or script content in fields such as title, author, isbn, publishercode, place, collectiontitle, itemtype, and note, which are stored without sanitization and later rendered in the suggestion list template, causing injected scripts to execute in the browser of any staff user who views the suggestions.
Published: 2026-08-18
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Koha versions prior to 26.05.02, 25.11.07, and 25.05.13 store unsanitized input from the purchase suggestion handler, enabling an authenticated staff user to inject arbitrary HTML or JavaScript. When a staff member later views the suggestion list, the script executes in the user's browser, potentially allowing session hijacking, credential theft, or defacement of the interface. The flaw constitutes a stored XSS vulnerability.

Affected Systems

The affected products are the Koha Community software before releases 26.05.02, 25.11.07, and 25.05.13. All staff accounts with permissions to submit purchase suggestions can exploit the vulnerability.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. The EPSS score is not available, and the flaw is not listed in CISA KEV. Exploitation requires authentication as a staff user with access to the purchase suggestion feature; there is no network‑level attack vector. Once the attacker has credentials, the vulnerability can be abused to run scripts in the browser of any other staff member who views the suggestion list.

Generated by OpenCVE AI on August 18, 2026 at 22:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a fixed release of Koha (26.05.02, 25.11.07, or 25.05.13) or later.
  • Limit the use of the purchase suggestion feature to trusted staff accounts or disable it entirely if not required.
  • Apply server‑side input validation or sanitization to the suggestion fields, ensuring that any entered HTML is escaped before storage or display.

Generated by OpenCVE AI on August 18, 2026 at 22:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Koha-community
Koha-community koha
Vendors & Products Koha-community
Koha-community koha

Tue, 18 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description Koha before 26.05.02, 25.11.07, and 25.05.13 contains a stored cross-site scripting vulnerability in the purchase suggestion handler that allows authenticated staff users to inject malicious scripts by submitting unsanitized input through the suggestion save operation. Attackers can supply crafted HTML or script content in fields such as title, author, isbn, publishercode, place, collectiontitle, itemtype, and note, which are stored without sanitization and later rendered in the suggestion list template, causing injected scripts to execute in the browser of any staff user who views the suggestions.
Title Koha Stored XSS via Purchase Suggestion Handler
Weaknesses CWE-79
References
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'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Koha-community Koha
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T21:09:48.910Z

Reserved: 2026-04-22T18:50:43.619Z

Link: CVE-2026-41921

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T21:16:34.487

Modified: 2026-08-18T21:16:34.487

Link: CVE-2026-41921

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T23:00:14Z

Weaknesses
  • CWE-79

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