CVE-2026-22675 OCS Inventory NG Server Stored XSS via User-Agent
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
5 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ocsinventory-server(Debian 12) | = 2.8.1+dfsg1+~2.11.1-1; = 2.8.1+dfsg1+~2.11.1-2; = 2.8.1+dfsg1+~2.11.1-3; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ocsinventory-ng ocs inventory server | <= 2.12.3 | after 2.12.3 | Fixed |
| ocsinventory-ng/ocsinventory-server | <= 2.12.3 | after 2.12.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ocsinventory-ng/ocsinventory-server | <= 2.12.3 | No fix listed |
| debian/ocsinventory-server(Debian:12) | All versions | No fix listed |
| debian/ocsinventory-server(Debian:12) | = 2.8.1+dfsg1+~2.11.1-1 | No fix listed |
| debian/ocsinventory-server(Debian:12) | = 2.8.1+dfsg1+~2.11.1-2 | No fix listed |
| debian/ocsinventory-server(Debian:12) | = 2.8.1+dfsg1+~2.11.1-3 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:24.04) | All versions | No fix listed |
| ocsinventory-ng ocs inventory server | <= 2.12.3 | No fix listed |
References
- github.com issue-tracking patch
- github.com patch
- www.vulncheck.com third-party-advisory vdb-entry
- Debian Security Tracker CVE-2026-22675 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-19484 third-party-advisory