Impact
OCS Inventory NG Server version 2.12.3 and earlier contain a stored cross‑site scripting flaw that enables unauthenticated attackers to deliver malicious JavaScript by inserting a malicious User‑Agent header in HTTP requests to the /ocsinventory endpoint. The header is saved without sanitization and later displayed in the web console within the statistics dashboard. When an authenticated user views this dashboard, the unsanitized content is executed in their browser, allowing cookie theft, session hijacking, or other client‑side attacks. The weakness is a stored cross‑site scripting (CWE‑79).
Affected Systems
The vulnerability affects the OCS Inventory NG Server product from OCS Inventory. Any installations running version 2.12.3 or earlier are susceptible; newer releases have the fix applied.
Risk and Exploitability
The CVSS base score of 5.1 indicates medium severity. The EPSS score is below 1 %, suggesting low probability of exploitation, and the flaw is not listed in CISA’s KEV catalog. Attackers can introduce malicious User‑Agent headers unauthenticated, but require an authenticated user to view the dashboard to see the effect. The risk is moderate, but the potential for credential compromise makes it important to remediate promptly.
OpenCVE Enrichment