CVE-2026-22675: OCS Inventory NG Server · Cross-site Scripting
Affects OCS Inventory NG ServerSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 2.12.4 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.12.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade ocsinventory-ng/OCSInventory-Server to 2.12.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OCS InventoryOCS Inventory NG Server | Affected
| Fixed in– |
GitHubocsinventory-ng/OCSInventory-Serverpkg:github/ocsinventory-ng/OCSInventory-ServerOther threats | Affected
| Fixed in
|
GitHubOCS Inventory NG Serverpkg:github/OCS Inventory NG ServerOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the web console to untrusted networks. No official remediation or temporary fix has been published at this time.
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.