CVE-2026-55437
Published:July 08, 2026
Updated:July 21, 2026
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.
Affected Packages
github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.34.0 <v2.34.2Fix Suggestion:
Update to version v2.34.2github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.0.3-0.20230821192631-2a04d15c6d48 <v2.29.17Fix Suggestion:
Update to version v2.29.17github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.33.0 <v2.33.8Fix Suggestion:
Update to version v2.33.8github.com/coder/coder/v2 (GO):
Affected version(s) >=v2.30.0 <v2.32.7Fix Suggestion:
Update to version v2.32.7Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.32