Skip to main content

OCS Inventory NG CVE-2026-76178

| EUVDEUVD-2026-70379 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-09-03 INCIBE GHSA-xm29-h9qp-gccq
9.2
CVSS 4.0 · Vendor: INCIBE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin access to ocsreports
  2. Delivery
    Inject script into notification template
  3. Exploit
    Payload stored server-side
  4. Execution
    Victim admin opens template view
  5. Persist
    Script executes in admin context
  6. Impact
    Hijack session / act as super-admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires administrator privileges on the OCS Inventory NG ocsreports console to store the payload via the notification template feature at /ocsreports/?function=notification (PR:H), and a second administrator must actively navigate to the template customisation view to trigger execution (UI:A). Limiting factors: it is not exploitable by unauthenticated or low-privileged users, needs a multi-admin deployment for meaningful impact, and depends on victim interaction with the specific customisation view; the vulnerable component is the web-reachable ocsreports interface (AV:N).

Impact

The CVSS 4.0 base score of 9.2 is elevated largely by the scope/subsequent-system metrics (SC:H/SI:H) and the high vulnerable-system confidentiality/integrity impact, but the practical risk is tempered by PR:H - the attacker must already hold administrator privileges to store the payload - and UI:A, requiring a victim admin to actively open the affected view. This makes it primarily an insider or admin-account-compromise escalation/lateral-movement vector rather than a pre-auth internet-facing threat, so the 9.2 overstates unauthenticated exposure. There is no EPSS signal, no KEV listing, and no known public PoC, all consistent with a not-yet-weaponised issue; however, in multi-admin OCS deployments a lower-privileged or rogue admin using it to seize a super-admin session is a realistic concern that operators should still remediate promptly. Any organisation running a shared OCS Inventory console with several administrators should treat it as a meaningful privilege-boundary weakness even though it is not a mass-exploitation candidate.

Exploit ScenarioDerived

A lower-trust or rogue administrator (or an attacker who has phished one admin account) submits a notification template containing a <script> payload that steals session cookies or issues authenticated requests. When a super-administrator later opens the template customisation view, the script silently executes in their browser under the application's origin, letting the attacker hijack that session and pivot to full control. No public PoC is currently known.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Stored cross-site scripting in OCS Inventory NG's ocsreports web console lets an administrator plant malicious HTML/JavaScript in the notification template (endpoint /ocsreports/?function=notification) that executes in the browser of any other administrator who opens the template customisation view. The injected script runs in the application's security context, enabling session hijacking or privileged actions against fellow admins. Reported by INCIBE; no public exploit identified at time of analysis, and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch version is identified in the provided data; consult the INCIBE advisory (https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-ocsreports-ocs-inventory-ng) and the OCS Inventory NG project for a fixed release and upgrade to it once published. Until a patch is confirmed, apply compensating controls: restrict administrative access to the ocsreports console to the minimum number of trusted operators and enforce strong per-admin authentication (reducing the pool of accounts that can inject or be targeted); place the console behind a network ACL/VPN so the admin UI is not broadly reachable; and, if feasible, deploy a Content-Security-Policy that disallows inline script execution on the ocsreports interface to blunt payload execution (note this may break legitimate inline UI scripting and require testing). Avoid granting administrator rights to semi-trusted users, since the injection prerequisite is admin-level access.

Affected VersionsENISA

Ocsreports 2.12.6

Affected Packages

euvd ocsreports no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OCS Inventory NG is an open-source IT asset management and inventory platform; ocsreports is its PHP-based web reporting/administration console (CPE cpe:2.3:a:ocs_inventory_ng:ocsreports). The flaw is a classic CWE-79 stored XSS: user-supplied content submitted to the notification template feature is persisted server-side and later rendered into the admin UI without output encoding or input sanitisation, so browser-interpreted markup and <script>/event-handler payloads are treated as active content. Because the sink is the shared template customisation view, the payload is delivered to any administrator who navigates to it, making this a persistent (rather than reflected) XSS.

Know when Ocsreports gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (INCIBE) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

Stored XSS requiring admin to inject (PR:H) and a victim admin to view (UI:R); script escapes into the victim's session (S:C) with high C/I but no availability impact.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (INCIBE).

CVSS VectorVendor: INCIBE

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OCS Inventory NG's notification template customization feature contains a stored cross-site scripting vulnerability that enables rogue administrators to compromise peer admin accounts and execute unauthorized actions within the IT asset management system. Organizations with multiple administrative teams face elevated risk of insider threats and loss of system integrity in their core asset inventory infrastructure.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict template customization access to minimal trusted administrator set; (2) deploy WAF rules blocking XSS payloads (script tags, event handlers, javascript: protocol); (3) enforce strict input validation and HTML entity encoding on template submission endpoints; (4) enable comprehensive audit logging with real-time alerting on all template creation and modification events; (5) conduct periodic security audits and manual inspection of stored templates for malicious content.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source IT asset inventory tool, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy