CVE-2026-22675: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in OCS Inventory OCS Inventory NG Server
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 Analysis
Technical Summary
CVE-2026-22675 is a stored cross-site scripting vulnerability in OCS Inventory NG Server (<=2.12.3). Attackers can exploit this by sending malicious User-Agent HTTP headers to the /ocsinventory endpoint. These headers are stored and later displayed in the web console's statistics dashboard without adequate input neutralization or output encoding, enabling arbitrary JavaScript execution in authenticated users' browsers. The vulnerability requires no authentication to inject the payload but affects authenticated users who view the dashboard. No official patch or remediation level has been published yet.
Potential Impact
The vulnerability allows unauthenticated attackers to execute arbitrary JavaScript in the context of authenticated users' browsers when they access the statistics dashboard. This can lead to session hijacking, unauthorized actions, or other malicious activities within the web console environment. However, exploitation requires the victim to be an authenticated user viewing the affected interface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the web console to untrusted networks. No official remediation or temporary fix has been published at this time.
CVE-2026-22675: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in OCS Inventory OCS Inventory NG Server
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.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/ocsinventory-ng/OCSInventory-ServerRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22675 is a stored cross-site scripting vulnerability in OCS Inventory NG Server (<=2.12.3). Attackers can exploit this by sending malicious User-Agent HTTP headers to the /ocsinventory endpoint. These headers are stored and later displayed in the web console's statistics dashboard without adequate input neutralization or output encoding, enabling arbitrary JavaScript execution in authenticated users' browsers. The vulnerability requires no authentication to inject the payload but affects authenticated users who view the dashboard. No official patch or remediation level has been published yet.
Potential Impact
The vulnerability allows unauthenticated attackers to execute arbitrary JavaScript in the context of authenticated users' browsers when they access the statistics dashboard. This can lead to session hijacking, unauthorized actions, or other malicious activities within the web console environment. However, exploitation requires the victim to be an authenticated user viewing the affected interface.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the web console to untrusted networks. No official remediation or temporary fix has been published at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-08T19:04:26.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d425f60a160ebd92deddbd
Added to database: 04/06/2026, 21:30:30 UTC
Last enriched: 07/15/2026, 11:02:51 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.