CVE-2026-22675CWE-79

OCS Inventory NG Server Stored XSS via User-Agent

Medium · published April 6, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
11.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
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
EPSS
0.00218 · 11.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-04-06T21:19Z
EPSS history
Timeline
  • 06 APR 21:19Z
    OCS Inventory NG Server Stored XSS via User-Agent
    cvelistv5