CVE catalog

CVE-2026-22675

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-

[CVE catalog]

Severity
Medium · CVSS 5.1
Published
Source
[NVD] · [CVE record]
EPSS
0.22% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianocsinventory-serversid2.8.1+dfsg1+~2.11.1-3vulnerable
Debianocsinventory-serverbookworm2.8.1+dfsg1+~2.11.1-1vulnerable
Cpeocsinventory-serverNot reportedNot reportedvulnerable
Cpeocs_inventory_serverNot reportedNot reportedunknown
Ubuntuocsinventory-server16.042.1.2-1vulnerable
Ubuntuocsinventory-server16.042.1.2-1ubuntu1vulnerable
Ubuntuocsinventory-server18.042.2+dfsg-0.1vulnerable
Ubuntuocsinventory-server20.042.5+dfsg1-1vulnerable
Ubuntuocsinventory-server20.042.5+dfsg1-1ubuntu0.1vulnerable
Ubuntuocsinventory-server22.042.8.1+dfsg1-1vulnerable
Ubuntuocsinventory-server22.042.8.1+dfsg1-1ubuntu0.1vulnerable
Ubuntuocsinventory-server24.042.8.1+dfsg1+~2.11.1-1vulnerable
Ubuntuocsinventory-server25.102.8.1+dfsg1+~2.11.1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianocsinventory-serversourcesid(unfixed)not yet assignedNot reported[1134342]
Debianocsinventory-serversourcebookworm(unfixed)not yet assignedNot reported[1134342]

[Debian bug #1134342]

Notes

[bookworm] ocsinventory-server: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [ocsinventory-server]

    Details (2)
    • 2.8.1+dfsg1+~2.11.1-1 · all · bookworm

      Affected

      nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12

    • 2.8.1+dfsg1+~2.11.1-1 · all · bookworm

      Affected

      nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12

  • Details (2)
    • 2.8.1+dfsg1+~2.11.1-1 · all · bookworm

      Affected

      nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12

    • 2.8.1+dfsg1+~2.11.1-1 · all · bookworm

      Affected

      nvd · ocsinventory-server · debian · bookworm; nvd · ocsinventory-server · debian · 12

Observed:

References