
CVE catalog
CVE-2026-22675
OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript by submitting malicious User-
- Severity
- Medium · CVSS 5.1
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.22% · Oct 25, 2026
OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript by submitting malicious User-Agent HTTP headers to the /ocsinventory endpoint. Attackers can register rogue agents or craft requests with malicious User-Agent values that are stored without sanitization and rendered with insufficient encoding in the web console, leading to arbitrary JavaScript execution in the browsers of authenticated users viewing the statistics dashboard.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ocsinventory-server | sid | 2.8.1+dfsg1+~2.11.1-3 | vulnerable |
| Debian | ocsinventory-server | bookworm | 2.8.1+dfsg1+~2.11.1-1 | vulnerable |
| Cpe | ocsinventory-server | Not reported | Not reported | vulnerable |
| Cpe | ocs_inventory_server | Not reported | Not reported | unknown |
| Ubuntu | ocsinventory-server | 16.04 | 2.1.2-1 | vulnerable |
| Ubuntu | ocsinventory-server | 16.04 | 2.1.2-1ubuntu1 | vulnerable |
| Ubuntu | ocsinventory-server | 18.04 | 2.2+dfsg-0.1 | vulnerable |
| Ubuntu | ocsinventory-server | 20.04 | 2.5+dfsg1-1 | vulnerable |
| Ubuntu | ocsinventory-server | 20.04 | 2.5+dfsg1-1ubuntu0.1 | vulnerable |
| Ubuntu | ocsinventory-server | 22.04 | 2.8.1+dfsg1-1 | vulnerable |
| Ubuntu | ocsinventory-server | 22.04 | 2.8.1+dfsg1-1ubuntu0.1 | vulnerable |
| Ubuntu | ocsinventory-server | 24.04 | 2.8.1+dfsg1+~2.11.1-1 | vulnerable |
| Ubuntu | ocsinventory-server | 25.10 | 2.8.1+dfsg1+~2.11.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ocsinventory-server | source | sid | (unfixed) | not yet assigned | Not reported | [1134342] |
| Debian | ocsinventory-server | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134342] |
Notes
[bookworm] ocsinventory-server: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ocsinventory-reports]Affected
Source package: [ocsinventory-server]
Details (2)
2.8.1+dfsg1+~2.11.1-1· all · bookwormAffected
nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12
2.8.1+dfsg1+~2.11.1-1· all · bookwormAffected
nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12
- [ocsinventory-server]Affected
Details (2)
2.8.1+dfsg1+~2.11.1-1· all · bookwormAffected
nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12
2.8.1+dfsg1+~2.11.1-1· all · bookwormAffected
nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-22675]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-22675]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-22675]
- [https://security-tracker.debian.org/tracker/CVE-2026-22675]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]