{"api_version":"1","generated_at":"2026-07-08T07:03:47+00:00","cve":"CVE-2026-55437","urls":{"html":"https://cve.report/CVE-2026-55437","api":"https://cve.report/api/cve/CVE-2026-55437.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-55437","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55437"},"summary":{"title":"Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-08 01:16:28","updated_at":"2026-07-08 01:16:28"},"problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","name":"https://github.com/coder/coder/releases/tag/v2.34.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","name":"https://github.com/coder/coder/releases/tag/v2.29.17","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","name":"https://github.com/coder/coder/releases/tag/v2.32.7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/pull/25808","name":"https://github.com/coder/coder/pull/25808","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","name":"https://github.com/coder/coder/releases/tag/v2.33.8","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7","name":"https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-55437","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55437","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.34.0, < 2.34.2","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.33.0, < 2.33.8","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.30.0, < 2.32.7","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected < 2.29.17","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"coder","vendor":"coder","versions":[{"status":"affected","version":">= 2.34.0, < 2.34.2"},{"status":"affected","version":">= 2.33.0, < 2.33.8"},{"status":"affected","version":">= 2.30.0, < 2.32.7"},{"status":"affected","version":"< 2.29.17"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-08T00:29:18.268Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7"},{"name":"https://github.com/coder/coder/pull/25808","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/pull/25808"},{"name":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.29.17"},{"name":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.32.7"},{"name":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.33.8"},{"name":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.34.2"}],"source":{"advisory":"GHSA-7qw2-f75v-62f7","discovery":"UNKNOWN"},"title":"Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-55437","datePublished":"2026-07-08T00:29:18.268Z","dateReserved":"2026-06-16T21:59:57.017Z","dateUpdated":"2026-07-08T00:29:18.268Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-08 01:16:28","lastModifiedDate":"2026-07-08 01:16:28","problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":2.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"55437","Ordinal":"1","Title":"Coder vulnerable to stored HTML injection via workspace agent lo","CVE":"CVE-2026-55437","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"55437","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Coder vulnerable to stored HTML injection via workspace agent lo"}]}}}