OCS Inventory NG Server up to 2.12.3 HTTP Header /ocsinventory User-Agent cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in OCS Inventory NG Server up to 2.12.3. It has been declared as problematic. Impacted is an unknown function of the file /ocsinventory of the component HTTP Header Handler. Executing a manipulation of the argument User-Agent can lead to cross site scripting. This vulnerability is registered as CVE-2026-22675. It is possible to launch the attack remotely. No exploit is available. A patch should be applied to remediate this issue.
Details
A vulnerability classified as problematic was found in OCS Inventory NG Server up to 2.12.3. This vulnerability affects some unknown processing of the file /ocsinventory of the component HTTP Header Handler. The manipulation of the argument User-Agent with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. CVE summarizes:
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.
The weakness was published by Alexandre Nesic. The advisory is available at github.com. This vulnerability was named CVE-2026-22675 since 01/08/2026. The exploitation appears to be easy. The attack can be initiated remotely. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.
Applying the patch 78faf2ca8b897141ba4d337d75692ab8e405bd4e is able to eliminate this problem.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-19484). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.4
CNA Vector (VulnCheck): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 78faf2ca8b897141ba4d337d75692ab8e405bd4e
Timeline
01/08/2026 CVE reserved04/06/2026 Advisory disclosed
04/06/2026 VulDB entry created
04/07/2026 VulDB entry last update
Sources
Advisory: github.comResearcher: Alexandre Nesic
Status: Confirmed
CVE: CVE-2026-22675 (🔒)
GCVE (CVE): GCVE-0-2026-22675
GCVE (VulDB): GCVE-100-355690
EUVD: 🔒
Entry
Created: 04/06/2026 23:57Updated: 04/07/2026 03:44
Changes: 04/06/2026 23:57 (79), 04/07/2026 03:44 (1)
Complete: 🔍
Cache ID: 216:646:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.