{"cve":"CVE-2026-55437","nvd":{"published":"2026-07-08T01:16:28.020","modified":"2026-07-08T19:38:48.677","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["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"],"products":["coder:coder"],"source":"nvd","synced_at":"2026-10-19T22:42:16.820116992+00:00"},"epss":{"cve":"CVE-2026-55437","score":0.00316,"percentile":0.24564,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7qw2-f75v-62f7","url":"https://osv.dev/vulnerability/GHSA-7qw2-f75v-62f7","summary":"Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component","modified":"2026-07-07T20:41:24.766731317Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.34.0 <2.34.2"],"fixed":["2.34.2"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.33.0 <2.33.8"],"fixed":["2.33.8"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":[">=2.30.0 <2.32.7"],"fixed":["2.32.7"]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.17"],"fixed":["2.29.17"]}]},{"id":"GO-2026-5919","url":"https://osv.dev/vulnerability/GO-2026-5919","summary":"Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component in github.com/coder/coder","modified":"2026-07-07T20:30:17.687177991Z","packages":[{"ecosystem":"Go","name":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","ranges":["<2.29.17",">=2.30.0 <2.32.7",">=2.33.0 <2.33.8",">=2.34.0 <2.34.2"],"fixed":["2.29.17","2.32.7","2.33.8","2.34.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}