# CVE-2026-61728: SOCFortress CoPilot: Stored comment and SOC-field XSS permits privileged account takeover

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.83% (percentile 55, 2026-11-26)
- **CWE:** CWE-79, CWE-922
- **Published:** 2026-10-30T14:22:18.332Z
- **Modified:** 2026-11-05T22:18:50.630Z

## Who should check

- Anyone running socfortress CoPilot \< 0.1.76

## 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 and fixed versions

- socfortress CoPilot: \< 0.1.76 (cvelist)

## Mitigation

- Upgrade CoPilot to 0.1.76 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-61728. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-61728.md
Affected: socfortress CoPilot < 0.1.76
Fixed in: socfortress CoPilot 0.1.76

Steps:
1. Search this machine and project for socfortress CoPilot: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-61728 being exploited?

There is no confirmed exploitation: CVE-2026-61728 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-61728?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-61728?

socfortress CoPilot \< 0.1.76.

### Is there a fix for CVE-2026-61728?

Yes. Fixed in socfortress CoPilot 0.1.76. Upgrade CoPilot to 0.1.76 or later.

### How do I check if I'm affected by CVE-2026-61728?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/socfortress/CoPilot/security/advisories/GHSA-8hqj-cqcc-5f6w>
- patch: <https://github.com/socfortress/CoPilot/pull/904>
- patch: <https://github.com/socfortress/CoPilot/pull/938>
- patch: <https://github.com/socfortress/CoPilot/commit/461e8f84794aee8ada588de3bad79430dc9f4f3d>
- patch: <https://github.com/socfortress/CoPilot/commit/ab9078bdee5d1c737f37f481103984665a670bdd>
- other: <https://github.com/socfortress/CoPilot/tree/v0.1.76>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-61728>

HTML: <https://flawdb.com/CVE-2026-61728> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-61728>
