Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to ocsreports
-
DeliveryInject script into notification template
-
ExploitPayload stored server-side
-
ExecutionVictim admin opens template view
-
PersistScript executes in admin context
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (INCIBE).
CVSS VectorVendor: INCIBE
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Ocsreports
View allRemote code execution in OCS Inventory NG's Ocsreports web console (admin_info CSV upload endpoint) allows an authentica
SQL injection in OCSReports (OCS Inventory NG) at the admin_double function endpoint allows authenticated operator-level
SQL injection in OCSReports (OCS Inventory NG) allows authenticated users holding operator privileges to extract or mani
SSRF in OCSreports (OCS Inventory NG) allows authenticated operators to weaponize the inventory server as a proxy to rea
EUVD-2026-70379
GHSA-xm29-h9qp-gccq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB