Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/coder/v2
  4. ›
  5. CVE-2026-55437

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

July 6, 2026

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.

Note: Exploitation requires a victim to view attacker-controlled agent logs in the dashboard.

References

  • github.com/advisories/GHSA-7qw2-f75v-62f7
  • github.com/coder/coder/pull/25808
  • github.com/coder/coder/security/advisories/GHSA-7qw2-f75v-62f7
  • nvd.nist.gov/vuln/detail/CVE-2026-55437

Code Behaviors & Features

Detect and mitigate CVE-2026-55437 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.29.17, all versions starting from 2.30.0 before 2.32.7, all versions starting from 2.33.0 before 2.33.8, all versions starting from 2.34.0 before 2.34.2

Fixed versions

  • 2.29.17
  • 2.32.7
  • 2.33.8
  • 2.34.2

Solution

Upgrade to versions 2.29.17, 2.32.7, 2.33.8, 2.34.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/coder/coder/v2/CVE-2026-55437.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 11 Nov 2026 00:17:08 +0000.