CVEfocus › CVE database › CVE-2026-22675

CVE-2026-22675OCS Inventory NG Server Stored XSS via User-Agent

CVSS 5.4 MediumEPSS 0.4% (higher than 25% of CVEs)Published 2026-04-06Updated 2026-11-08Assigner: VulnCheck

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.

CWE-79

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10ocsinventory-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-22675
Ubuntu 24.04ocsinventory-serverUnder investigationUBUNTU-CVE-2026-22675
Ubuntu 22.04ocsinventory-serverUnder investigationUBUNTU-CVE-2026-22675
Ubuntu 20.04ocsinventory-serverFix pendingUBUNTU-CVE-2026-22675
Ubuntu 18.04ocsinventory-serverFix pendingUBUNTU-CVE-2026-22675
Ubuntu 16.04ocsinventory-serverFix pendingUBUNTU-CVE-2026-22675
Debian 12ocsinventory-serverFix pendingDEBIAN-CVE-2026-22675

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.