Security Resilience

CVE-2026-61791

XSS in schorschii OCO-Server

Published
22 October 2026
Modified
29 October 2026
CVSS Score v3.1 7.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
EPSS Score 0.0052 37th percentile
Risk Priority 54 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-61791 is a high-severity Improper Neutralization of Script in Attributes in a Web Page (CWE-83) vulnerability in schorschii OCO-Server (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Target (T1608.004); ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-15 (Information Output Filtering) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

OCO-Server is a self-hosted endpoint management application for computer inventory, software deployment, and mobile device management. Prior to 1.2.1, `Html::commandButton()` in `lib/Html.class.php` embeds an action URL containing a stored computer hostname into a JavaScript string in an inline `onclick` handler,…

more

using `htmlspecialchars(ENT_QUOTES)` only for HTML escaping. Browsers decode the HTML entities before interpreting the handler as JavaScript, allowing a crafted hostname to escape the string and execute script in an administrator's authenticated session when an affected command button is activated. `frontend/views/computer-details.php` passes `$computer->hostname` to this helper using `Computer::DEFAULT_COMPUTER_COMMANDS` in `lib/Models/Computer.class.php`, whose VNC, RDP, SSH, and Ping entries use `new_tab=false` and the vulnerable `window.location` branch. A remote attacker who possesses the shared `agent-registration-key` can use the `oco.agent.hello` handler in `frontend/api-agent.php` to store an unchecked hostname when `agent-self-registration-enabled` is enabled; self-registration is disabled by default. The vulnerable default command buttons require no custom command configuration. The injected script can abuse the administrator's privileges, including permission to deploy software jobs to managed computers. This issue is fixed in version 1.2.1.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1608.004 Drive-by Target Resource Development
Adversaries may prepare an operational environment to infect systems that visit a website over the normal course of browsing.
T1056 Input Capture Collection
Adversaries may use methods of capturing user input to obtain credentials or collect information.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1114 Email Collection Collection
Adversaries may target user email to collect sensitive information.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1491.002 External Defacement Impact
An adversary may deface systems external to an organization in an attempt to deliver messaging, intimidate, or otherwise mislead an organization or users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-0137Shared CWE-83
CVE-2026-8245Shared CWE-83
CVE-2026-53841Shared CWE-83
CVE-2026-45669Shared CWE-83
CVE-2024-9103Shared CWE-83
CVE-2026-48591Shared CWE-83
CVE-2025-0125Shared CWE-83
CVE-2026-45118Shared CWE-83
CVE-2026-49276Shared CWE-83
CVE-2025-4615Shared CWE-83

Affected Assets

schorschii
OCO-Server
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.3.4

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation can reject or sanitize dangerous javascript: URIs and event-handler attributes before they reach rendered pages.

Output filtering directly neutralizes script content in HTML attributes, stopping the exact injection vector described by the CWE.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require output encoding and attribute neutralization to prevent this class of XSS.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches attribute-injection flaws before release but does not itself implement the fix.

prevents

Secure coding standards require proper escaping of untrusted data in HTML attributes, directly eliminating CWE-83.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software CWEs like CWE-83 in delivered code the way those practices do; the clause's ceiling on this verb is `partial` because the mechanism is fallible human practice.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. CWE-83 is a first-party implementation defect in custom web code, which A.8.8's vulnerability scanning and advisory-based programme does not reach. The minority it does find is the slice that surfaces as published CVEs in third-party components (the observed examples show CVEs do exist for this class), but the bulk of instances in custom code are outside its view, mirroring the A.8.8 -> CWE-89 anchor at the same rung.

References