UBUNTU-CVE-2026-76178

Source
https://ubuntu.com/security/CVE-2026-76178
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-76178.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-76178
Upstream
  • CVE-2026-76178
Published
2026-09-04T00:00:00Z
Modified
2026-09-05T06:16:06.439076280Z
Severity
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A stored Cross-Site Scripting (XSS) vulnerability in the notification template functionality of the endpoint /ocsreports/?function=notification. A user with administrator privileges can input malicious HTML content which is subsequently stored and displayed without proper sanitisation when other administrators access the template customisation view, allowing JavaScript code to be executed within the application’s security context and potentially compromising the sessions of other users with administrative privileges.

References

Affected packages

Ubuntu:16.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?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-76178.json"

Ubuntu:18.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?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-76178.json"

Ubuntu:20.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?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-76178.json"

Ubuntu:22.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?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-76178.json"

Ubuntu:24.04:LTS / ocsinventory-server

Package

Name
ocsinventory-server
Purl
pkg:deb/ubuntu/ocsinventory-server?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-76178.json"