Cross-site Scripting (XSS) Affecting ocsinventory-server package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-OCSINVENTORYSERVER-19540030
  • published5 Sept 2026
  • disclosed6 Apr 2026

Introduced: 6 Apr 2026

CVE-2026-22675  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest ocsinventory-server.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ocsinventory-server package and not the ocsinventory-server package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1