CVE-2026-22675
published medium CVSS 4.0 · 5.1OCS Inventory NG Server Stored XSS via User-Agent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OCS Inventory | — | OCS Inventory NG Server0 through 2.12.3 (affected · semver) · 78faf2ca8b897141ba4d337d75692ab8e405bd4e (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OCS Inventory | OCS Inventory NG Server | 0 through 2.12.3 (affected · semver)78faf2ca8b897141ba4d337d75692ab8e405bd4e (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
2VulnCheck · cna
OCS Inventory NG Server Stored XSS via User-Agent
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4c05c09be2839e726c5e0e81d79cd4ab85d60b93775445003bce3a5791da1afe
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record