# CVE-2026-55437: Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-08
- Aliases: GHSA-7qw2-f75v-62f7, GO-2026-5919
- Record: https://cvemate.com/vulnerability/CVE-2026-55437 · JSON: https://cvemate.com/vulnerability/CVE-2026-55437/json

## Description

```text
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2, the `AgentLogLine` dashboard component instantiated `ansi-to-html` without `escapeXML: true` and inserted the result via `dangerouslySetInnerHTML` so HTML embedded in workspace agent log lines was rendered as live markup. Server-side sanitization did not neutralize HTML metacharacters. Exploitation requires a victim to view attacker-controlled agent logs in the dashboard. The fix in versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2 enables `escapeXML: true` so HTML metacharacters are escaped before DOM insertion. No known workarounds are available.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.224%, percentile 13.87%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- coder coder: \< 2.29.17 \| ≥ 2.30.0, \< 2.32.7 \| ≥ 2.33.0, \< 2.33.8 \| ≥ 2.34.0, \< 2.34.2
- github.com/coder coder (Go): All versions (No fix recorded)
- github.com/coder/coder v2 (Go): ≥ 2.33.0, \< 2.33.8 \| ≥ 2.30.0, \< 2.32.7 \| \< 2.29.17 \| ≥ 2.34.0, \< 2.34.2

## References

- <https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7>
- <https://github.com/coder/coder/pull/25808>
- <https://github.com/coder/coder/releases/tag/v2.29.17>
- <https://github.com/coder/coder/releases/tag/v2.32.7>
- <https://github.com/coder/coder/releases/tag/v2.33.8>
- <https://github.com/coder/coder/releases/tag/v2.34.2>
- <https://github.com/coder/coder>

---

Data as of 2026-12-05T14:48:48.611Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
