CVE-2026-22675: OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allo
CVE-2026-22675 is a medium-severity flaw (CVSS 5.4) affecting ocs inventory server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 arbit
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 88%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-04-06 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-22675?
ocs inventory server: upgrade to newer than 2.12.3. Exact commands for each OS are on this page.
Is CVE-2026-22675 being exploited?
CVE-2026-22675 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-22675 affect?
CVE-2026-22675 affects ocs inventory server. Severity is medium (CVSS 5.4). 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
How urgent is CVE-2026-22675?
Priority 22/100. No elevated risk signals yet.