CVE-2026-22675 MEDIUM

CVE-2026-22675: OCS Inventory NG Server Stored XSS via User-Agent

Vendor Ocs Inventory
Product OCS Inventory NG Server
Weakness CWE-79 · XSS
Published April 6, 2026
Last update May 26, 2026

CVSS base score

5.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 6, 2026 CVE published
May 26, 2026 Record updated