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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-07-06T21:12:56.000Z
- Modified: 2026-07-08T19:38:48.677Z
- Also known as: GHSA-7qw2-f75v-62f7, GO-2026-5919
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- coder coder: >= 2.34.0, < 2.34.2; >= 2.33.0, < 2.33.8; >= 2.30.0, < 2.32.7; < 2.29.17; before 2.29.17; from 2.30.0 before 2.32.7; from 2.33.0 before 2.33.8; from 2.34.0 before 2.34.2
- github.com/coder/coder/v2 (Go): from 2.34.0 before 2.34.2; from 2.33.0 before 2.33.8; from 2.30.0 before 2.32.7; before 2.29.17
- github.com/coder/coder (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7> (advisory, patch, vendor-advisory, web)
- <https://github.com/coder/coder/pull/25808> (fix, issue-tracking, patch, web)
- <https://github.com/coder/coder/releases/tag/v2.29.17> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.32.7> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.33.8> (release-notes)
- <https://github.com/coder/coder/releases/tag/v2.34.2> (release-notes)
- <https://github.com/coder/coder> (package)

## Sources

- CVE List: [CVE-2026-55437](https://www.cve.org/CVERecord?id=CVE-2026-55437), CVE Terms of Use, modified 2026-07-08
- GitHub Advisory Database: [GHSA-7qw2-f75v-62f7](https://github.com/advisories/GHSA-7qw2-f75v-62f7), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5919](https://pkg.go.dev/vuln/GO-2026-5919), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-55437](https://nvd.nist.gov/vuln/detail/CVE-2026-55437), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-55437 · Whole record: https://cve.day/CVE-2026-55437.json · Rebuilt by cve.day 2026-11-25T22:59:27.337Z
