Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-22675: OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allo

22
Routine
MEDIUM 5.4UPGRADE

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 score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.2% (top 88%)
CISA exploited listNo
WeaknessCWE-79
Published2026-04-06
Last modified2026-07-24
Publisher (CNA): VulnCheck · Vendor: ocsinventory-ng

Share: LinkedIn · X · Reddit

Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ocsinventory-ng ocs inventory server UPGRADE
Affected: <= 2.12.3
Fixed in: newer than 2.12.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ocs-inventory-server || rpm -q ocs-inventory-server || ocs-inventory-server --version
2. UPGRADE to newer than 2.12.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ocs-inventory-server
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ocs-inventory-server
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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.

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.