Vulnerability

CVE-2026-22675

mediumCVSS 4.0 5.1Published 6 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Ocsinventory Ng ocs inventory server

Weakness type

References

  • github.com /OCSInventory-NG/OCSInventory-Server/commit/78faf2ca8b89714…
  • github.com /OCSInventory-NG/OCSInventory-Server/pull/483
  • www.vulncheck.com /advisories/ocs-inventory-ng-server-stored-xss-via-user-age…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning