Vulnerability · Published Apr 6, 2026 · Assigned by VulnCheck

CVE-2026-22675OCS Inventory NG Server Stored XSS via User-Agent

Medium 5.4

In plain English

A medium-severity cross-site scripting in OCS Inventory NG Server from OCS Inventory. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 87.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ocsinventory-serverno fix listedDEBIAN-CVE-2026-22675
Ubuntu:22.04:LTSocsinventory-serverno fix listedUBUNTU-CVE-2026-22675
Ubuntu:24.04:LTSocsinventory-serverno fix listedUBUNTU-CVE-2026-22675
Ubuntu:25.10ocsinventory-serverno fix listedUBUNTU-CVE-2026-22675

Affected products (as reported)

VendorProductVersions
OCS Inventory OCS Inventory NG Server 0 – through 2.12.3

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References