Skip to main content
EPSS 0.4%top 65%

CVE-2026-76178: CWE-79 Improper neutralization of input during web page generation ('cross-site scripting') in OCS Inventory NG Ocsreports

0
Critical
VulnerabilityCVE-2026-76178cvecve-2026-76178cwe-79
Published: 09/03/2026 (09/03/2026, 10:20:19 UTC)
Source: CVE Database V5
Vendor/Project: OCS Inventory NG
Product: Ocsreports

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
None
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

Affected software

OCS Inventory NG

Ocsreports

Affected versions
=2.12.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:16:39 UTC

Technical Analysis

This vulnerability involves improper neutralization of input during web page generation (CWE-79) in the /ocsreports/?function=notification endpoint of OCS Inventory NG's Ocsreports. Specifically, an administrator can input malicious HTML that is stored and rendered without proper sanitization when other administrators access the notification template customization view. This allows execution of arbitrary JavaScript code within the security context of the application, risking session compromise of other administrative users. The issue is confirmed in version 2.12.6. No official patch or remediation level has been provided as of the publication date.

Potential Impact

Successful exploitation allows an attacker with administrator privileges to execute arbitrary JavaScript code in the context of other administrators, potentially leading to session hijacking or other administrative account compromises. This elevates risk within the administrative interface of Ocsreports, impacting confidentiality and integrity of administrative sessions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted users only and consider monitoring for suspicious activity related to notification template modifications. Avoid using the notification template customization feature if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
INCIBE
Date Reserved
2026-08-19T10:24:19.234Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a994df8acd9273b49cc69bc

Added to database: 09/03/2026, 10:37:44 UTC

Last enriched: 09/07/2026, 13:16:39 UTC

Last updated: 10/18/2026, 06:48:19 UTC

Views: 118

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses