---
title: "CVE-2026-61791: OCO-Server - Stored XSS"
description: "OCO-Server < 1.2.1 contains a stored XSS caused by improper escaping of computer hostnames in Html::commandButton() inline JavaScript handlers, letting remote attackers with agent-registration-key execute scripts in admin sessions, exploit requires agent self-registration enabled."
url: https://panop.io/threat-heartbeat/CVE-2026-61791/
---

# CVE-2026-61791 OCO-Server - Stored XSS

OCO-Server < 1.2.1 contains a stored XSS caused by improper escaping of computer hostnames in Html::commandButton() inline JavaScript handlers, letting remote attackers with agent-registration-key execute scripts in admin sessions, exploit requires agent self-registration enabled.

CVSS base score 7.4 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-61791)

## Details

Type

Stored XSS

Impact

Client Script Exec, Privilege Escalation

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Published

22 October 2026

Updated

23 October 2026

Weakness

[CWE-83](https://cwe.mitre.org/data/definitions/83.html)

## Vendor fix

Update to version 1.2.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-61791](https://nvd.nist.gov/vuln/detail/CVE-2026-61791)
- [https://github.com/schorschii/OCO-Server/commit/ef02f9768e5e1792c3ee53c72e8d7e4ea58ddaa8](https://github.com/schorschii/OCO-Server/commit/ef02f9768e5e1792c3ee53c72e8d7e4ea58ddaa8)
- [https://github.com/schorschii/OCO-Server/releases/tag/v1.2.1](https://github.com/schorschii/OCO-Server/releases/tag/v1.2.1)
- [https://github.com/schorschii/OCO-Server/security/advisories/GHSA-9c2r-9j95-22pr](https://github.com/schorschii/OCO-Server/security/advisories/GHSA-9c2r-9j95-22pr)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
