PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61791 schorschii CVE debrief

CVE-2026-61791: OCO-Server Stored XSS through agent hostnames in command buttons. The vulnerability allows an attacker to execute script in an administrator's authenticated session. Defenders should assess exposure and verify version 1.2.1 or later usage, particularly for instances with self-registration enabled. The vulnerability is caused by improper HTML escaping in the `Html::commandButton()` function, which allows a crafted hostname to escape the string and execute script when an affected command button is activated.

Vendor
schorschii
Product
OCO-Server
CVSS
HIGH 7.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-22
Original CVE updated
2026-10-29
Advisory published
2026-10-22
Advisory updated
2026-10-29

Who should care

Defenders responsible for OCO-Server instances, particularly those with self-registration enabled, should assess exposure and verify version 1.2.1 or later usage. They should also review agent-registration-key usage and self-registration settings, and monitor for suspicious activity on OCO-Server instances. Operators, administrators, and security teams should be aware of the potential impact of this vulnerability on their systems and take necessary steps.

Why it matters

CVE-2026-61791 is a stored XSS vulnerability in OCO-Server that allows an attacker to execute script in an administrator's authenticated session. Defenders should prioritize verifying and updating OCO-Server instances, reviewing self-registration settings, and monitoring for suspicious activity.

  • Potential script execution in administrator's authenticated session
  • Possible unauthorized actions within OCO-Server
  • Required verification of OCO-Server version and self-registration settings
  • Necessity to monitor for suspicious activity on OCO-Server instances

Technical summary

The OCO-Server application is vulnerable to stored XSS through agent hostnames in command buttons. An attacker with the shared agent-registration-key can store a crafted hostname, which can execute script in an administrator's authenticated session when an affected command button is activated. The vulnerability is caused by improper HTML escaping in the `Html::commandButton()` function. Defenders should prioritize verifying and updating OCO-Server instances to version 1.2.1 or later, and review agent-registration-key usage and self-registration settings.

Defensive priority

Defenders should prioritize verifying and updating OCO-Server instances to version 1.2.1 or later, and review agent-registration-key usage and self-registration settings.

Recommended defensive actions

  • Verify OCO-Server version and update to 1.2.1 or later
  • Review agent-registration-key usage and self-registration settings
  • Monitor for suspicious activity on OCO-Server instances
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and source item provide details on the vulnerability, including the affected version and fixed version. However, additional information on potential exploitation and impact is limited. Defenders should verify OCO-Server version and self-registration settings, and monitor for suspicious activity. The shared agent-registration-key is used to store an unchecked hostname, which can be used to exploit the vulnerability. Evidence is limited, and defenders should exercise caution when assessing exposure.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61791 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61791

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61791 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61791

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • OCO-Server: Stored XSS through agent hostnames in command buttons

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/61xxx/CVE-2026-61791.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/schorschii/OCO-Server/security/advisories/GHSA-9c2r-9j95-22pr

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/schorschii/OCO-Server/commit/ef02f9768e5e1792c3ee53c72e8d7e4ea58ddaa8

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/schorschii/OCO-Server/releases/tag/v1.2.1

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.