Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-22675: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in OCS Inventory OCS Inventory NG Server

0
Medium
VulnerabilityCVE-2026-22675cvecve-2026-22675cwe-79
Published: Mon Apr 06 2026 (04/06/2026, 21:19:59 UTC)
Source: CVE Database V5
Vendor/Project: OCS Inventory
Product: OCS Inventory NG Server

Description

OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript by submitting malicious User-Agent HTTP headers to the /ocsinventory endpoint. Attackers can register rogue agents or craft requests with malicious User-Agent values that are stored without sanitation and rendered with insufficient encoding in the web console, leading to arbitrary JavaScript execution in the browsers of authenticated users viewing the statistics dashboard.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/06/2026, 21:45:51 UTC

Technical Analysis

CVE-2026-22675 is a stored cross-site scripting vulnerability in OCS Inventory NG Server (version 2.12.3 and prior). The issue arises because the application accepts User-Agent HTTP headers from unauthenticated requests to the /ocsinventory endpoint and stores them without proper input neutralization. When these stored values are displayed in the web console's statistics dashboard, insufficient encoding allows execution of arbitrary JavaScript in the context of authenticated users. This vulnerability is classified under CWE-79 and has a CVSS 4.0 base score of 5.1, indicating medium severity. No vendor advisory or patch is currently available, and the product is not a cloud service.

Potential Impact

An attacker can inject malicious JavaScript code that executes in the browsers of authenticated users viewing the statistics dashboard. This can lead to session hijacking, unauthorized actions within the web console, or other attacks facilitated by script execution in the victim's browser. However, exploitation requires the attacker to submit crafted User-Agent headers and relies on authenticated users viewing the affected dashboard. There are no reports of active exploitation in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting access to the statistics dashboard to trusted users only and monitor for suspicious User-Agent header submissions. Avoid exposing the /ocsinventory endpoint to untrusted networks if possible. Do not rely on generic mitigations; await vendor guidance for a definitive fix.

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
VulnCheck
Date Reserved
2026-01-08T19:04:26.365Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d425f60a160ebd92deddbd

Added to database: 4/6/2026, 9:30:30 PM

Last enriched: 4/6/2026, 9:45:51 PM

Last updated: 4/7/2026, 6:59:36 AM

Views: 9

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