Vulnerability · Published Oct 30, 2026 · Assigned by GitHub_M
CVE-2026-61728SOCFortress CoPilot: Stored comment and SOC-field XSS permits privileged account takeover
Critical 9.9
In plain English
A critical-severity cross-site scripting in CoPilot from socfortress. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| socfortress | CoPilot | < 0.1.76 |
Weakness: CWE-79, CWE-922 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/socfortress/CoPilot/security/advisories/GHSA-8hqj-cqcc-5f6w x_refsource_CONFIRM
- https://github.com/socfortress/CoPilot/pull/904 x_refsource_MISC
- https://github.com/socfortress/CoPilot/pull/938 x_refsource_MISC
- https://github.com/socfortress/CoPilot/commit/461e8f84794aee8ada588de3bad79430dc9f4f3d x_refsource_MISC
- https://github.com/socfortress/CoPilot/commit/ab9078bdee5d1c737f37f481103984665a670bdd x_refsource_MISC
- https://github.com/socfortress/CoPilot/tree/v0.1.76 x_refsource_MISC