XSS in Ocs Inventory Ng Server
CVE-2026-22675
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (12.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Ocs Inventory Ng Server — versions 0, 78faf2ca8b897141ba4d337d75692ab8e405bd4e
- Ocsinventory-ng Ocs_inventory_server
Weakness classification (CWE)
References
- disclosure@vulncheck.com (issue-tracking, Issue Tracking)
- disclosure@vulncheck.com (Patch, patch)
- disclosure@vulncheck.com (VDB Entry, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-22675?
- CVE-2026-22675 is a medium-severity vulnerability in Ocs Inventory Ng Server, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-04-06.
- How severe is CVE-2026-22675?
- Medium severity. CVSS v3 base score is 5.4 out of 10.