PatchSiren

OCS Inventory CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM OCS Inventory CVE published 2026-04-06

CVE-2026-22675

A stored cross-site scripting (XSS) vulnerability in OCS Inventory NG Server allows unauthenticated attackers to inject malicious JavaScript via crafted User-Agent HTTP headers submitted to the /ocsinventory endpoint. The vulnerability affects versions 2.12.3 and prior. The malicious payload is stored without adequate sanitization and rendered with insufficient encoding in the web console's statistics dashboard, executing arbitrary JavaScript in the browsers of authenticated administrative users who view the affected data. The attack vector requires network access to the inventory endpoint but no authentication, with user interaction required from victim administrators. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no attack privileges required, and user interaction present, with low impacts to confidentiality and integrity of the system. A patch has been committed to address the sanitization deficiency.