CVE-2026-76178 Multiple vulnerabilities in Ocsreports for OCS Inventory NG

Critical 9.2 Published Updated

Administrators can inject malicious scripts into notification templates, leading to session hijacking of other admins.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-76178?

CVE-2026-76178 is a critical cross-site scripting vulnerability in Ocsreports, published on 3 Sep 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-76178?

How do I fix CVE-2026-76178?

No fix has been published for CVE-2026-76178 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-76178 being exploited?

There is no known exploitation of CVE-2026-76178 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-76178, GHSA-xm29-h9qp-gccq, UBUNTU-CVE-2026-76178.

Is CVE-2026-76178 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free