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.
Published: 2026-09-03
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker who can create or edit the notification template in the OCS Inventory NG Ocsreports component can embed malicious HTML and JavaScript. The application stores this input without sanitisation, and it is later rendered unescaped when any administrator opens the template customisation view. Because the malicious script runs in the browser with the site's privileges, it can hijack the session or otherwise tamper with that administrator’s interactions. This vulnerability primarily affects confidentiality and integrity for administrators, and enables privilege abuse within the application.

Affected Systems

The flaw exists in the OCS Inventory NG product, specifically the Ocsreports component. All installations that have not applied the corrective release 2.12.6 are affected. An administrator user role is required to create or modify the notification template. No older or newer versions are listed as affected by this vulnerability.

Risk and Exploitability

The flaw carries a CVSS score of 9.2, indicating critical severity. Because an attacker must have administrative access, the attack vector is a web‑based interface dealing with notification templates. No EPSS score is available, so exploitation probability cannot be measured. The vulnerability is not included in CISA KEV, but its high score and potential to hijack privileged sessions make it a high‑value target.

Generated by OpenCVE AI on September 3, 2026 at 12:49 UTC.

Remediation

Vendor Solution

The vulnerabilities have been fixed by the OCS Inventory NG team in version 2.12.6.


OpenCVE Recommended Actions

  • Upgrade OCS Inventory NG to version 2.12.6 or later
  • If immediate upgrade is infeasible, remove or disable the notification template feature for all non‑essential administrators or restrict the ability to edit templates to a minimal set of trusted users
  • Apply input validation and output encoding to all fields that generate HTML content to prevent future XSS exposures

Generated by OpenCVE AI on September 3, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title Multiple vulnerabilities in Ocsreports for OCS Inventory NG
First Time appeared Ocs Inventory Ng
Ocs Inventory Ng ocsreports
Weaknesses CWE-79
CPEs cpe:2.3:a:ocs_inventory_ng:ocsreports:2.12.6:*:*:*:*:*:*:*
Vendors & Products Ocs Inventory Ng
Ocs Inventory Ng ocsreports
References
Metrics cvssV4_0

{'score': 9.2, 'vector': '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'}


Subscriptions

Ocs Inventory Ng Ocsreports
cve-icon MITRE

Status: PUBLISHED

Assigner: INCIBE

Published:

Updated: 2026-09-03T12:40:03.865Z

Reserved: 2026-08-19T10:24:19.234Z

Link: CVE-2026-76178

cve-icon Vulnrichment

Updated: 2026-09-03T12:39:21.108Z

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:08.293

Modified: 2026-09-03T13:06:08.293

Link: CVE-2026-76178

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T13:00:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')