Home / schorschii / OCO-Server / CVE-2026-61791
CVE-2026-61791: is it exploited, and which versions of schorschii OCO-Server are affected and fixed?
CVE-2026-61791 is an improper Neutralization of Script in Attributes in a Web Page vulnerability in schorschii OCO-Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: OCO-Server < 1.2.1 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-61791?
OCO-Server: Stored XSS through agent hostnames in command buttons
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, 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.
From the CVE record by GitHub_M, last updated October 29, 2026, 11:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| schorschii | OCO-Server | < 1.2.1 |
As the CVE record by GitHub_M states it, last updated October 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-61791?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-61791 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 29, 2026)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 31.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-83 Improper Neutralization of Script in Attributes in a Web Page
Where are the vendor advisories and references?
- https://github.com/schorschii/OCO-Server/security/advisories/GHSA-9c2r-9j95-22pr x_refsource_CONFIRM
- https://github.com/schorschii/OCO-Server/commit/ef02f9768e5e1792c3ee53c72e8d7e4ea58ddaa8 x_refsource_MISC
- https://github.com/schorschii/OCO-Server/releases/tag/v1.2.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 10, 2026
- Published
- October 22, 2026, 14:55 UTC
- CVE record updated
- October 29, 2026, 11:46 UTC by GitHub_M
- NVD
- Deferred, last modified October 29, 2026, 12:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OCO-Server?
- Oct 22, 2026CVE-2026-114611 schorschii OCO-Server: improper certificate validation
- Oct 22, 2026CVE-2026-114515 schorschii OCO-Server: missing authorization
Questions about CVE-2026-61791
Is CVE-2026-61791 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of schorschii OCO-Server are affected by CVE-2026-61791?
OCO-Server < 1.2.1, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-61791?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-61791?
High (7.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-61791?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.