Skip to main content
CVE-2026-22675VulnerabilityPublished Updated

Ocsinventory server: OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting

Affects ocsinventory-serverSource GCVE Database

0
Compare
Authoritative record:CVE-2026-22675· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.1
CNA (VulnCheck)CVSS 3.15.4
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10ocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=questingOther threatsAffected
  • =2.8.1+dfsg1+~2.11.1-1
Fixed in–
Ubuntu 24.04 LTSocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=nobleOther threatsAffected
  • =2.8.1+dfsg1+~2.11.1-1
Fixed in–
Ubuntu 22.04 LTSocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=jammyOther threatsAffected
  • =2.8.1+dfsg1-1
  • =2.8.1+dfsg1-1ubuntu0.1
Fixed in–
Ubuntu 20.04 LTSocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=focalOther threatsAffected
  • =2.5+dfsg1-1
  • =2.5+dfsg1-1ubuntu0.1
Fixed in–
Ubuntu 18.04 LTSocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=bionicOther threatsAffected
  • =2.2+dfsg-0.1
Fixed in–
Ubuntu 16.04 LTSocsinventory-serverpkg:deb/ubuntu/ocsinventory-server?arch=source&distro=xenialOther threatsAffected
  • =2.1.2-1
  • =2.1.2-1ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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…