CVE-2026-22675

Source
https://cve.org/CVERecord?id=CVE-2026-22675
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22675.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-22675
Downstream
Published
2026-04-06T21:19:59.435Z
Modified
2026-07-08T08:11:14.954788353Z
Severity
  • 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
Summary
OCS Inventory NG Server Stored XSS via User-Agent
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 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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "last_affected": "2.12.3"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22675.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/ocsinventory-ng/ocsinventory-server

Affected ranges

Type
GIT
Repo
https://github.com/ocsinventory-ng/ocsinventory-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

2.*
2.2
2.2.1
2.2RC1
2.3
2.3.1
2.3RC1
2.4
2.4.1
2.5
2.6
2.6RC
2.7
2.8
2.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22675.json"