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 sanitation 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 (version 2.12.3 and prior). The issue arises because the application accepts User-Agent HTTP headers from unauthenticated requests to the /ocsinventory endpoint and stores them without proper input neutralization. When these stored values are displayed in the web console's statistics dashboard, insufficient encoding allows execution of arbitrary JavaScript in the context of authenticated users. This vulnerability is classified under CWE-79 and has a CVSS 4.0 base score of 5.1, indicating medium severity. No vendor advisory or patch is currently available, and the product is not a cloud service.
Potential Impact
An attacker can inject malicious JavaScript code that executes in the browsers of authenticated users viewing the statistics dashboard. This can lead to session hijacking, unauthorized actions within the web console, or other attacks facilitated by script execution in the victim's browser. However, exploitation requires the attacker to submit crafted User-Agent headers and relies on authenticated users viewing the affected dashboard. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the /ocsinventory endpoint to untrusted networks if possible. Do not rely on generic mitigations; await vendor guidance for a definitive fix.
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 sanitation 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-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22675 is a stored cross-site scripting vulnerability in OCS Inventory NG Server (version 2.12.3 and prior). The issue arises because the application accepts User-Agent HTTP headers from unauthenticated requests to the /ocsinventory endpoint and stores them without proper input neutralization. When these stored values are displayed in the web console's statistics dashboard, insufficient encoding allows execution of arbitrary JavaScript in the context of authenticated users. This vulnerability is classified under CWE-79 and has a CVSS 4.0 base score of 5.1, indicating medium severity. No vendor advisory or patch is currently available, and the product is not a cloud service.
Potential Impact
An attacker can inject malicious JavaScript code that executes in the browsers of authenticated users viewing the statistics dashboard. This can lead to session hijacking, unauthorized actions within the web console, or other attacks facilitated by script execution in the victim's browser. However, exploitation requires the attacker to submit crafted User-Agent headers and relies on authenticated users viewing the affected dashboard. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the /ocsinventory endpoint to untrusted networks if possible. Do not rely on generic mitigations; await vendor guidance for a definitive fix.
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: 4/6/2026, 9:30:30 PM
Last enriched: 4/6/2026, 9:45:51 PM
Last updated: 4/7/2026, 6:59:36 AM
Views: 9
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.