Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description explicitly requires administrator privileges (PR:H); victim must visit the poisoned admin page (UI:R); XSS payload executes in a different user's browser, constituting scope change (S:C).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Cross-Site Scripting (XSS) vulnerability in the patron restriction type administration page of Koha Library Management System through 25.11 allows an authenticated remote attacker with administrator privileges to inject arbitrary web scripts via the restriction type label (display_text field)
AnalysisAI
Stored Cross-Site Scripting in Koha Library Management System through version 25.11 allows an authenticated administrator to inject persistent JavaScript into the patron restriction type administration page via the display_text (restriction type label) field. When another privileged user subsequently navigates to that administration page, the stored payload executes in their browser, enabling session hijacking, credential theft, or further administrative compromise. No public KEV listing exists, but SSVC data confirms a proof-of-concept exploit is available; EPSS at 0.21% (12th percentile) reflects the low broad exploitation probability consistent with a niche product and high privilege prerequisite.
Technical ContextAI
Koha is an open-source Integrated Library System (ILS) used primarily by public, academic, and school libraries, with its administrative interface built on Perl and web technologies. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: the display_text field in the patron restriction type administration page accepts free-form text that is subsequently rendered back into HTML without adequate sanitization or output encoding. This is a stored (persistent) XSS pattern - the payload is written to the Koha database and replayed to every privileged user who loads the administration view, amplifying impact beyond a single-victim reflected XSS. No vendor-assigned CPE is available in the source data (listed as n/a), but the vulnerability is scoped to the administrative web interface of Koha releases through 25.11.
RemediationAI
No specific patched version has been identified in the available data at time of analysis - administrators should consult the Koha vendor directly at http://koha.com and monitor the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-50765 for an official fix. As a compensating control, restrict write access to the patron restriction type administration interface to the absolute minimum number of trusted, individually-accountable administrator accounts, eliminating shared or broadly-assigned admin credentials to reduce the attacker pool. Implementing a restrictive Content Security Policy (CSP) header (e.g., script-src 'self') on the Koha administrative interface can block inline script execution and materially reduce XSS exploitability, though this should be tested against Koha's legitimate JavaScript dependencies to avoid breaking functionality. Output encoding of the display_text field at the rendering layer is the correct permanent fix and should be validated in any vendor patch.
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
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39940
GHSA-wh28-gg5r-p54p