{"id":"CVE-2026-61728","kind":"vulnerability","aliases":["CVE-2026-61728"],"related":[],"title":"SOCFortress CoPilot: stored XSS in alert comments steals login tokens","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.","summary":"SOCFortress CoPilot renders user-submitted alert comments and SOC case fields as raw HTML without sanitizing them, and stores login tokens where scripts can read them. A portal user can plant a script that runs in an analyst's or administrator's browser, stealing tokens and taking over the account.","severity":"critical","cvss":9.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["customer-portal","package","security-operations","socfortress-copilot","vue"],"not_affected_if":["patched-0.1.76"],"how_to_check":"- Check the CoPilot customer portal version and compare it against the fixed releases listed below.\n- Look for `customer-portal/src/components/alerts/AlertDetails/AlertComment.vue` in the deployed source and confirm whether `commentHtml` is passed to `v-html` without sanitizing.\n- Review stored alert comments and SOC case notes for embedded HTML or script tags.","fix":"- SOCFortress CoPilot `0.1.70` contains the health-check sink repair.\n- SOCFortress CoPilot `0.1.76` contains the comment and other SOC sink repairs; the sources describe it as the provisional first release with all observed repairs.","status":"open","published_at":"2026-10-30T15:16:52+00:00","first_seen_at":"2026-10-30T15:31:11+00:00","triaged_at":"2026-10-30T15:33:00+00:00","updated_at":"2026-10-30T15:33:00+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-30T15:33:00Z","model":"claude-haiku-5-5","output":{"fix":"- SOCFortress CoPilot `0.1.70` contains the health-check sink repair.\n- SOCFortress CoPilot `0.1.76` contains the comment and other SOC sink repairs; the sources describe it as the provisional first release with all observed repairs.","reach":"internet","title":"SOCFortress CoPilot: stored XSS in alert comments steals login tokens","impact":"high","summary":"SOCFortress CoPilot renders user-submitted alert comments and SOC case fields as raw HTML without sanitizing them, and stores login tokens where scripts can read them. A portal user can plant a script that runs in an analyst's or administrator's browser, stealing tokens and taking over the account.","audience":"businesses","category":"package","nicknames":[],"who_cares":["socfortress-copilot","security-operations","customer-portal","vue"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker takes over analyst or admin accounts and modifies or deletes incident data","analyst_note":"Confirm the 0.1.70 versus 0.1.76 split and whether the fix is grouped under one CVE; the sources say curator adjudication is pending.","how_to_check":"- Check the CoPilot customer portal version and compare it against the fixed releases listed below.\n- Look for `customer-portal/src/components/alerts/AlertDetails/AlertComment.vue` in the deployed source and confirm whether `commentHtml` is passed to `v-html` without sanitizing.\n- Review stored alert comments and SOC case notes for embedded HTML or script tags.","plain_action":"","needs_analyst":true,"not_affected_if":["patched-0.1.76"],"who_is_affected":"Any deployment of SOCFortress CoPilot with the customer portal running a snapshot before 0.1.70 (health-check fields) or 0.1.76 (alert comments and SOC case fields) is exposed. Portal users with the customer_user role can plant the payload, and it fires when an analyst or administrator views the poisoned alert or case. Deployments already on 0.1.76 or later are not affected by these sinks.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000849,"input_tokens":4620,"output_tokens":774,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2026':12A,15A '-61728':13A,16A '/api/incidents/db_operations/alert/comment':117C '/auth/refresh':225C '/src/api/httpclient.ts':202C '/src/components/alerts/alertdetails/alertcomment.vue':122C '/src/stores/auth.ts':186C '0.1.70':101C,266C '0.1.76':103C,280C,282C 'access':189C,247C 'account':78B,241C 'adjud':299C 'administr':69B,230C 'affect':96C,160C 'alert':6A,34B,147C,234C 'analyst':66B,228C 'anoth':142C 'applic':153C 'asset':166C 'authent':180C 'bearer':204C 'browser':71B 'case':38B,165C,236C 'check':170C,258C 'comment':7A,35B,269C 'comment.comment':127C 'commenthtml':123C 'contain':263C,277C,288C 'cooki':209C 'copilot':2A,26B,29B,80C 'cross':244C 'cross-ten':243C 'curat':298C 'custom':18B,109C,120C,184C,200C 'customer-port':17B,119C,183C,199C 'cve':11A,14A,295C 'data':246C 'delet':251C 'detection/response':253C 'enabl':238C 'escap':137C 'execut':150C 'field':39B,171C 'first':262C,276C,286C 'focus':81C 'fresh':222C 'glass':88C 'group':292C 'header':205C 'health':169C,257C 'health-check':168C,256C 'healthcheckitem.vue':178C 'html':42B,135C,140C 'httpon':208C 'imperson':217C 'incid':248C 'includ':108C 'inject':211C 'javascript':195C 'javascript-read':194C 'login':9A,48B 'markup':114C 'modif':249C 'need':94C 'newlin':125C 'observ':290C 'obtain':221C 'oper':23B,93C 'origin':154C 'packag':20B 'pane':86C 'pass':129C 'pattern':159C 'persist':187C,239C 'plant':59B 'poison':146C,233C 'portal':19B,56B,106C,121C,185C,201C 'post':116C 'preced':98C 'privileg':240C 'provid':83C 'provision':285C 'rather':206C 'raw':41B 'read':53B 'readabl':196C 'refresh':191C 'releas':287C 'render':30B,158C 'repair':105C,260C,274C,291C 'replac':124C 'requir':297C 'respect':100C 'result':131C 'run':63B 'sanit':44B,139C 'scope':296C 'script':51B,61B,149C,212C 'secur':22B,92C 'security-oper':21B 'server':162C 'server-stor':161C 'singl':85C 'sink':104C,259C,273C 'snapshot':97C 'soc':37B,164C,272C 'socalertassetsitem.vue':176C 'soccaseassetsitem.vue':175C 'soccaseitem.vue':174C 'soccasenote.vue':173C 'socfortress':1A,25B,28B,79C 'socfortress-copilot':24B 'split':294C 'steal':8A,72B,214C 'storag':197C 'store':3A,47B,113C,148C,163C,181C 'submit':33B,112C 'subvers':254C 'take':75B 'takeov':242C 'tenant':245C 'token':10A,49B,73B,192C,216C,223C 'unsanit':157C 'use':203C 'user':32B,57B,107C,110C,143C 'user-submit':31B 'v':134C 'v-html':133C 'version':265C,279C,281C 'versus':293C 'view':144C,231C 'viewer':219C 'vue':27B 'without':43B,136C 'xss':4A","nicknames":[],"mitigations":[],"who_affected":"Any deployment of SOCFortress CoPilot with the customer portal running a snapshot before 0.1.70 (health-check fields) or 0.1.76 (alert comments and SOC case fields) is exposed. Portal users with the customer_user role can plant the payload, and it fires when an analyst or administrator views the poisoned alert or case. Deployments already on 0.1.76 or later are not affected by these sinks.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T15:16:52+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-61728","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61728","severity":null,"published_at":"2026-10-30T15:16:52+00:00","modified_at":"2026-10-30T15:16:52+00:00","first_seen_at":"2026-10-30T15:31:11+00:00","fetched_at":"2026-10-30T15:31:11+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}