Skip to main content
VulnerabilityPublished Updated

CVE-2026-22675: OCS Inventory NG Server · Cross-site Scripting

Affects OCS Inventory NG ServerSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
OCS InventoryOCS Inventory NG ServerAffected
  • <=2.12.3
Fixed in–
GitHubocsinventory-ng/OCSInventory-Serverpkg:github/ocsinventory-ng/OCSInventory-ServerOther threatsAffected
  • <2.12.4
Fixed in
  • 2.12.4
GitHubOCS Inventory NG Serverpkg:github/OCS Inventory NG ServerOther threatsAffected
  • <=2.12.3
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.

References

Community reviews

Loading reviews…