Medium severity5.4NVD Advisory· Published Apr 6, 2026· Updated May 26, 2026
CVE-2026-22675
CVE-2026-22675
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2cpe:2.3:a:ocsinventory-ng:ocs_inventory_server:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:ocsinventory-ng:ocs_inventory_server:*:*:*:*:*:*:*:*range: <=2.12.3
- (no CPE)range: <=2.12.3
Patches
Vulnerability mechanics
References
3- github.com/OCSInventory-NG/OCSInventory-Server/commit/78faf2ca8b897141ba4d337d75692ab8e405bd4envdPatch
- www.vulncheck.com/advisories/ocs-inventory-ng-server-stored-xss-via-user-agentnvdThird Party AdvisoryVDB Entry
- github.com/OCSInventory-NG/OCSInventory-Server/pull/483nvdIssue Tracking
News mentions
0No linked articles in our index yet.