CVE Catalog

CVE-2026-22675

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability. Unauthenticated attackers can submit malicious User-Agent headers to the /ocsinventory endpoint, which are stored without sanitization and rendered in the web console, leading to arbitrary JavaScript execution in authenticated users' browsers.

Risk Assessment

Attackers can execute arbitrary scripts in the context of an administrator's session, potentially leading to data theft, session hijacking, or further attacks.

Recommendation

Update OCS Inventory NG Server to the latest version that fixes this vulnerability and implement input validation.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS