Koha Stored XSS via Purchase Suggestion Handler
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Koha Community | Koha | 26.05.0 to before 26.05.02; 25.11.0 to before 25.11.07; 25.05.0 to before 25.05.13 | 26.05.02, 25.11.07, 25.05.13 | Patch available | CNA |
- Koha VendorKoha Community Affected 26.05.0 to before 26.05.02; 25.11.0 to before 25.11.07; 25.05.0 to before 25.05.13 Fixed in 26.05.02, 25.11.07, 25.05.13 Patch available CNA
Remediation
- Fix · CNA Koha (Koha Community) Fixed in 26.05.02, 25.11.07, 25.05.13
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41921
- 2026-10-03 Alias added: GHSA-w5c5-88rv-x3v2
More Koha Community vulnerabilities
- TI-2026-73826 OS command injection in Koha Task Scheduler deletion via jobid CVSS 3.1HIGH 8.8
- TI-2026-24397 Authenticated SQL Injection in Koha displayby parameter of suggestion.pl CVSS 4.0HIGH 8.7
- TI-2023-24038 SQL Injection vulnerability in Koha Library Software 23.0.5.04 and before allows a remote… CVSS 3.1HIGH 7.5
- TI-2023-24039 File Upload vulnerability in Koha Library Software 23.05.04 and before allows a remote… CVSS 3.1MEDIUM 5.3
- TI-2026-05641 Koha SQL Injection in reports/catalogue_out.pl via Filter URL Parameter CVSS 4.0MEDIUM 5.6
- TI-2026-49955 Koha SQL Injection via order_by and {order}_ovalue Parameters in guided_reports.pl CVSS 3.1HIGH 8.8
Sources
- CVE-2026-41921 · CVE Program
- CVE-2026-41921 · NVD
- FIRST EPSS
- GHSA-w5c5-88rv-x3v2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences