---
id: CVE-2026-61728
title: >-
  SOCFortress CoPilot: Stored comment and SOC-field XSS permits privileged
  account takeover
summary: >-
  SOCFortress CoPilot focuses on providing a single pane of glass for all your
  security operations needs. In affected snapshots preceding the respective
  0.1.70 and 0.1.76 sink repairs, portal users, including `customer_user`, can
  submit st…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-79
  - CWE-922
vendor: socfortress
product: CoPilot
affected:
  - CoPilot < 0.1.76
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-05T21:35:26.702711Z'
exploitAvailable: true
published: '2026-10-30'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:35:49.473Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-61728'
references:
  - url: >-
      https://github.com/socfortress/CoPilot/security/advisories/GHSA-8hqj-cqcc-5f6w
    label: >-
      https://github.com/socfortress/CoPilot/security/advisories/GHSA-8hqj-cqcc-5f6w
  - url: 'https://github.com/socfortress/CoPilot/pull/904'
    label: 'https://github.com/socfortress/CoPilot/pull/904'
  - url: 'https://github.com/socfortress/CoPilot/pull/938'
    label: 'https://github.com/socfortress/CoPilot/pull/938'
  - url: >-
      https://github.com/socfortress/CoPilot/commit/461e8f84794aee8ada588de3bad79430dc9f4f3d
    label: >-
      https://github.com/socfortress/CoPilot/commit/461e8f84794aee8ada588de3bad79430dc9f4f3d
  - url: >-
      https://github.com/socfortress/CoPilot/commit/ab9078bdee5d1c737f37f481103984665a670bdd
    label: >-
      https://github.com/socfortress/CoPilot/commit/ab9078bdee5d1c737f37f481103984665a670bdd
  - url: 'https://github.com/socfortress/CoPilot/tree/v0.1.76'
    label: 'https://github.com/socfortress/CoPilot/tree/v0.1.76'
tags:
  - cve.org
  - exploit-available
epss: 0.00459
epssPercentile: 0.399
ingestedAt: '2026-11-05T16:07:30.302Z'
---

## Overview

SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. In affected snapshots preceding the respective 0.1.70 and 0.1.76 sink repairs, portal users, including `customer_user`, can submit stored markup through `POST /api/incidents/db_operations/alert/comment`. In `customer-portal/src/components/alerts/AlertDetails/AlertComment.vue`, `commentHtml` replaces newlines in `comment.comment` but passes the result to `v-html` without escaping or sanitizing HTML. When another user views the poisoned alert, stored script executes on the application origin; the same unsanitized rendering pattern affects server-stored SOC case, asset and health-check fields in `SocCaseNote.vue`, `SocCaseItem.vue`, `SocCaseAssetsItem.vue`, `SocAlertAssetsItem.vue` and `HealthcheckItem.vue`. The authentication store in `customer-portal/src/stores/auth.ts` persists both access and refresh tokens in JavaScript-readable storage, and `customer-portal/src/api/httpClient.ts` uses bearer headers rather than HttpOnly cookies. An injected script can steal both tokens, impersonate the viewer and obtain fresh tokens through `/auth/refresh`. If an analyst or administrator views the poisoned alert or case, this enables persistent privileged account takeover, cross-tenant data access, incident modification or deletion, and detection/response subversion. The health-check sink repair is first contained in version 0.1.70, while the comment and other SOC sink repairs are first contained in version 0.1.76. Version 0.1.76 is the provisional first release containing all observed repairs; grouped versus split CVE scope requires curator adjudication.

## Affected

- `CoPilot < 0.1.76`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
