UBUNTU-CVE-2026-22675

Source
https://ubuntu.com/security/CVE-2026-22675
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-22675
Upstream
  • CVE-2026-22675
Published
2026-04-07T00:00:00Z
Modified
2026-04-08T15:05:33.119920Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.1.2-1ubuntu1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.2-1
2.1.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.1.2-1ubuntu1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.1.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"
Ubuntu:18.04:LTS
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.2+dfsg-0.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2+dfsg-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.2+dfsg-0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.2+dfsg-0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"
Ubuntu:20.04:LTS
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.5+dfsg1-1ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5+dfsg1-1
2.5+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.5+dfsg1-1ubuntu0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.5+dfsg1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"
Ubuntu:22.04:LTS
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1+dfsg1-1
2.8.1+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.8.1+dfsg1-1ubuntu0.1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.8.1+dfsg1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"
Ubuntu:24.04:LTS
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1+~2.11.1-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1+dfsg1+~2.11.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"
Ubuntu:25.10
ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1+~2.11.1-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8.1+dfsg1+~2.11.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ocsinventory-reports",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        },
        {
            "binary_name": "ocsinventory-server",
            "binary_version": "2.8.1+dfsg1+~2.11.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22675.json"